public function SettingInterface::getElement in Express 8
Retrieves the form element for the setting.
Parameters
array $form: Nested array of form elements that comprise the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
\Drupal\bootstrap\Utility\Element The setting element object.
Deprecated
Will be removed in a future release. Use \Drupal\bootstrap\Plugin\Setting\SettingInterface::getSettingElement
1 method overrides SettingInterface::getElement()
- SettingBase::getElement in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingBase.php
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingInterface.php, line 101 - Contains \Drupal\bootstrap\Plugin\Setting\SettingInterface.
Class
- SettingInterface
- Defines the interface for an object oriented theme setting plugin.
Namespace
Drupal\bootstrap\Plugin\SettingCode
public function getElement(array &$form, FormStateInterface $form_state);