You are here

protected function PreprocessBase::preprocessElement in Express 8

Preprocess the variables array if an element is present.

Parameters

\Drupal\bootstrap\Utility\Element $element: The Element object.

\Drupal\bootstrap\Utility\Variables $variables: The Variables object.

1 call to PreprocessBase::preprocessElement()
PreprocessBase::preprocess in themes/contrib/bootstrap/src/Plugin/Preprocess/PreprocessBase.php
Preprocess theme hook variables.
8 methods override PreprocessBase::preprocessElement()
BootstrapPanel::preprocessElement in themes/contrib/bootstrap/src/Plugin/Preprocess/BootstrapPanel.php
Preprocess the variables array if an element is present.
FieldMultipleValueForm::preprocessElement in themes/contrib/bootstrap/src/Plugin/Preprocess/FieldMultipleValueForm.php
Preprocess the variables array if an element is present.
FormElement::preprocessElement in themes/contrib/bootstrap/src/Plugin/Preprocess/FormElement.php
Preprocess the variables array if an element is present.
FormElementLabel::preprocessElement in themes/contrib/bootstrap/src/Plugin/Preprocess/FormElementLabel.php
Preprocess the variables array if an element is present.
ImageWidget::preprocessElement in themes/contrib/bootstrap/src/Plugin/Preprocess/ImageWidget.php
Preprocess the variables array if an element is present.

... See full list

File

themes/contrib/bootstrap/src/Plugin/Preprocess/PreprocessBase.php, line 107
Contains \Drupal\bootstrap\Plugin\Preprocess\PreprocessBase.

Class

PreprocessBase
Base preprocess class used to build the necessary variables for templates.

Namespace

Drupal\bootstrap\Plugin\Preprocess

Code

protected function preprocessElement(Element $element, Variables $variables) {
}