You are here

public function SettingBase::alterFormElement in Express 8

The alter method to store the code.

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.

string $form_id: String representing the name of the form itself. Typically this is the name of the function that generated the form.

Overrides FormInterface::alterFormElement

9 calls to SettingBase::alterFormElement()
ModalAnimation::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/JavaScript/Modals/ModalAnimation.php
The alter method to store the code.
ModalEnabled::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/JavaScript/Modals/ModalEnabled.php
The alter method to store the code.
PopoverAnimation::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/JavaScript/Popovers/PopoverAnimation.php
The alter method to store the code.
PopoverEnabled::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/JavaScript/Popovers/PopoverEnabled.php
The alter method to store the code.
RegionWells::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/Components/Region/RegionWells.php
The alter method to store the code.

... See full list

14 methods override SettingBase::alterFormElement()
BreadcrumbHome::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/Components/Breadcrumbs/BreadcrumbHome.php
The alter method to store the code.
BreadcrumbTitle::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/Components/Breadcrumbs/BreadcrumbTitle.php
The alter method to store the code.
CdnProvider::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/Advanced/Cdn/CdnProvider.php
The alter method to store the code.
FormsSmartDescriptionsAllowedTags::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/General/Forms/FormsSmartDescriptionsAllowedTags.php
The alter method to store the code.
FormsSmartDescriptionsLimit::alterFormElement in themes/contrib/bootstrap/src/Plugin/Setting/General/Forms/FormsSmartDescriptionsLimit.php
The alter method to store the code.

... See full list

File

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

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Code

public function alterFormElement(Element $form, FormStateInterface $form_state, $form_id = NULL) {
  $this
    ->getSettingElement($form, $form_state);
}