ItemListDropdown.php in Express 8
Namespace
Drupal\bootstrap\Plugin\PreprocessFile
themes/contrib/bootstrap/src/Plugin/Preprocess/ItemListDropdown.phpView source
<?php
namespace Drupal\bootstrap\Plugin\Preprocess;
use Drupal\bootstrap\Utility\Variables;
/**
* Pre-processes for the "item_list__dropdown" theme hook.
*
* @ingroup plugins_preprocess
*
* @BootstrapPreprocess("item_list__dropdown")
*/
class ItemListDropdown extends PreprocessBase implements PreprocessInterface {
/**
* {@inheritdoc}
*/
protected function preprocessVariables(Variables $variables) {
parent::preprocessVariables($variables);
$variables->alignment = $variables
->getContext('alignment');
}
}
Classes
Name | Description |
---|---|
ItemListDropdown | Pre-processes for the "item_list__dropdown" theme hook. |