class BootstrapDropdown

Pre-processes variables for the "bootstrap_dropdown" theme hook.

Plugin annotation

@BootstrapPreprocess("bootstrap_dropdown")

Hierarchy

Expanded class hierarchy of BootstrapDropdown

Related topics

Namespace

Drupal\bootstrap\Plugin\Preprocess

Members

Contains filters are case sensitive
Name Modifiers Type Description
BootstrapDropdown::preprocessLinks protected function Preprocess links in the variables array to convert them from dropbuttons.
BootstrapDropdown::preprocessVariables protected function Preprocess the variables array. Overrides PreprocessBase::preprocessVariables
PluginBase::$theme protected property The currently set theme object.
PluginBase::__construct public function
PreprocessBase::$hook protected property The theme hook invoked.
PreprocessBase::$info protected property The theme hook info array from the theme registry.
PreprocessBase::$variables protected property The Variables object.
PreprocessBase::preprocess public function Preprocess theme hook variables. Overrides PreprocessInterface::preprocess
PreprocessBase::preprocessAttributes protected function Ensures all attributes have been converted to an Attribute object.
PreprocessBase::preprocessDescription protected function Converts any set description variable into a traversable array.
PreprocessBase::preprocessElement protected function Preprocess the variables array if an element is present.