You are here

protected function ItemListBootstrapCarouselIndicators::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/ItemListBootstrapCarouselIndicators.php, line 19

Class

ItemListBootstrapCarouselIndicators
Pre-processes for the "item_list__bootstrap_carousel_indicators" theme hook.

Namespace

Drupal\bootstrap\Plugin\Preprocess

Code

protected function preprocessVariables(Variables $variables) {
  parent::preprocessVariables($variables);
  $variables->target = $variables
    ->getContext('target');
  $variables->start_index = $variables
    ->getContext('start_index');
}