function public function SettingBase::getElement

8 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\Setting

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

public function getElement(array &$form, FormStateInterface $form_state) {
  Bootstrap::deprecated();
  return $this->getSettingElement(Element::create($form), $form_state);
}