function protected function PreprocessBase::preprocessElement

8.x-3.x PreprocessBase.php protected PreprocessBase::preprocessElement(Element $element, Variables $variables)

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.

Class

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

Namespace

Drupal\bootstrap\Plugin\Preprocess

Source src/Plugin/Preprocess/PreprocessBase.php (line 103)

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