3 namespace Drupal\bootstrap\Plugin\Preprocess;
5 use Drupal\bootstrap\Utility\Variables;
8 * Pre-processes for the "item_list__dropdown" theme hook.
10 * @ingroup plugins_preprocess
12 * @BootstrapPreprocess("item_list__dropdown")
14 class ItemListDropdown extends PreprocessBase implements PreprocessInterface {
19 protected function preprocessVariables(Variables $variables) {
20 parent::preprocessVariables($variables);
22 $variables->alignment = $variables->getContext('alignment');