bootstrap3-1.0.1/src/Plugin/Preprocess/ItemListBootstrapCarouselIndicators.php

src/Plugin/Preprocess/ItemListBootstrapCarouselIndicators.php
<?php

namespace Drupal\bootstrap3\Plugin\Preprocess;

use Drupal\bootstrap3\Utility\Variables;

/**
 * Pre-processes for the "item_list__bootstrap_carousel_indicators" theme hook.
 *
 * @ingroup plugins_preprocess
 *
 * @BootstrapPreprocess("item_list__bootstrap_carousel_indicators")
 */
class ItemListBootstrapCarouselIndicators extends PreprocessBase implements PreprocessInterface {

  /**
   * {@inheritdoc}
   */
  protected function preprocessVariables(Variables $variables) {
    parent::preprocessVariables($variables);

    $variables->target = $variables->getContext('target');
    $variables->start_index = $variables->getContext('start_index');
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc