function public function SettingBase::getGroups

8.x-3.x SettingBase.php public SettingBase::getGroups()

Retrieves the setting's groups.

Return value

array The setting's group.

Overrides SettingInterface::getGroups

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingBase.php (line 151)

public function getGroups() {
  return !empty($this->pluginDefinition['groups']) ? $this->pluginDefinition['groups'] : [];
}