You are here

public function SettingBase::getElement in Express 8

Overrides SettingInterface::getElement

Deprecated

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

File

themes/contrib/bootstrap/src/Plugin/Setting/SettingBase.php, line 127
Contains \Drupal\bootstrap\Plugin\Setting\SettingBase.

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Code

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