function public function SettingInterface::getGroup

8 SettingInterface.php public SettingInterface::getGroup(array &$form, FormStateInterface $form_state)

Retrieves the group form element the setting belongs to.

Parameters

array $form: Nested array of form elements that comprise the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

\Drupal\bootstrap\Utility\Element The group element object.

Deprecated

Will be removed in a future release. Use \Drupal\bootstrap\Plugin\Setting\SettingInterface::getGroupElement

1 method overrides SettingInterface::getGroup()
SettingBase::getGroup in src/Plugin/Setting/SettingBase.php

Class

SettingInterface
Defines the interface for an object oriented theme setting plugin.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingInterface.php (line 65)

public function getGroup(array &$form, FormStateInterface $form_state);