You are here

public function SettingInterface::getSettingElement in Express 8

Retrieves the form element for the setting.

Parameters

\Drupal\bootstrap\Utility\Element $form: The Element object that comprises the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

\Drupal\bootstrap\Utility\Element The setting element object.

1 method overrides SettingInterface::getSettingElement()
SettingBase::getSettingElement in themes/contrib/bootstrap/src/Plugin/Setting/SettingBase.php
Retrieves the form element for the setting.

File

themes/contrib/bootstrap/src/Plugin/Setting/SettingInterface.php, line 122
Contains \Drupal\bootstrap\Plugin\Setting\SettingInterface.

Class

SettingInterface
Defines the interface for an object oriented theme setting plugin.

Namespace

Drupal\bootstrap\Plugin\Setting

Code

public function getSettingElement(Element $form, FormStateInterface $form_state);