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