function public function SettingBase::getElement
8.x-3.x SettingBase.php | public SettingBase::getElement(array &$form, FormStateInterface $form_state) |
Overrides SettingInterface::getElement
Deprecated
Will be removed in a future release. Use \Drupal\bootstrap\Plugin\Setting\SettingInterface::getSettingElement
Class
- SettingBase
- Base class for a setting.
Namespace
Drupal\bootstrap\Plugin\SettingSource src/Plugin/Setting/SettingBase.php (line 160)
public function getElement(array &$form, FormStateInterface $form_state) {
Bootstrap::deprecated();
return $this->getSettingElement(Element::create($form, $form_state), $form_state);
}