function public function SettingInterface::getGroupElement
8.x-3.x SettingInterface.php | public SettingInterface::getGroupElement(Element $form, FormStateInterface $form_state) |
Retrieves the group form element the setting belongs to.
Parameters
\Drupal\bootstrap\Utility\Element $form: The Element object that comprises the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
\Drupal\bootstrap\Utility\Element The group element object.
Class
- SettingInterface
- Defines the interface for an object oriented theme setting plugin.
Namespace
Drupal\bootstrap\Plugin\SettingSource src/Plugin/Setting/SettingInterface.php (line 98)
public function getGroupElement(Element $form, FormStateInterface $form_state);