<?php
-/**
- * @file
- * Contains \Drupal\bootstrap\Plugin\Preprocess\BootstrapCarousel.
- */
namespace Drupal\bootstrap\Plugin\Preprocess;
-use Drupal\bootstrap\Annotation\BootstrapPreprocess;
use Drupal\bootstrap\Bootstrap;
use Drupal\bootstrap\Utility\Element;
use Drupal\bootstrap\Utility\Variables;
'#theme' => 'item_list__bootstrap_carousel_indicators',
'#list_type' => 'ol',
'#items' => array_keys($variables->slides),
- '#target' => "#$id",
- '#start_index' => $variables->start_index,
+ '#context' => [
+ 'target' => "#$id",
+ 'start_index' => $variables->start_index,
+ ],
];
}