public function FormBase::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
1 call to FormBase::alterFormElement()
- FormBase::alterForm in themes/
contrib/ bootstrap/ src/ Plugin/ Form/ FormBase.php - The alter method to store the code.
4 methods override FormBase::alterFormElement()
- NodePreviewFormSelect::alterFormElement in themes/
contrib/ bootstrap/ src/ Plugin/ Form/ NodePreviewFormSelect.php - The alter method to store the code.
- SearchBlockForm::alterFormElement in themes/
contrib/ bootstrap/ src/ Plugin/ Form/ SearchBlockForm.php - The alter method to store the code.
- SearchForm::alterFormElement in themes/
contrib/ bootstrap/ src/ Plugin/ Form/ SearchForm.php - The alter method to store the code.
- SystemThemeSettings::alterFormElement in themes/
contrib/ bootstrap/ src/ Plugin/ Form/ SystemThemeSettings.php - The alter method to store the code.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Form/ FormBase.php, line 30 - Contains \Drupal\bootstrap\Plugin\Form\FormBase.
Class
- FormBase
- Base form alter class.
Namespace
Drupal\bootstrap\Plugin\FormCode
public function alterFormElement(Element $form, FormStateInterface $form_state, $form_id = NULL) {
}