public function SettingBase::getGroups in Express 8
Retrieves the setting's groups.
Return value
array The setting's group.
Overrides SettingInterface::getGroups
1 call to SettingBase::getGroups()
- SettingBase::getGroupElement in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingBase.php - Retrieves the group form element the setting belongs to.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingBase.php, line 118 - Contains \Drupal\bootstrap\Plugin\Setting\SettingBase.
Class
- SettingBase
- Base class for a setting.
Namespace
Drupal\bootstrap\Plugin\SettingCode
public function getGroups() {
return !empty($this->pluginDefinition['groups']) ? $this->pluginDefinition['groups'] : [];
}