protected function ItemListDropdown::preprocessVariables in Express 8
Preprocess the variables array.
Parameters
\Drupal\bootstrap\Utility\Variables $variables: The Variables object.
Overrides PreprocessBase::preprocessVariables
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Preprocess/ ItemListDropdown.php, line 19
Class
- ItemListDropdown
- Pre-processes for the "item_list__dropdown" theme hook.
Namespace
Drupal\bootstrap\Plugin\PreprocessCode
protected function preprocessVariables(Variables $variables) {
parent::preprocessVariables($variables);
$variables->alignment = $variables
->getContext('alignment');
}