You are here

public function ItemsForm::__construct in bootstrap simple carousel 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\bootstrap_simple_carousel\Service\CarouselService $carouselService: The CarouselService.

File

src/Form/ItemsForm.php, line 50

Class

ItemsForm
Class ItemsForm.

Namespace

Drupal\bootstrap_simple_carousel\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, CarouselService $carouselService) {
  $this->carouselItemStorage = $entity_type_manager
    ->getStorage('bootstrap_simple_carousel');
  $this->carouselService = $carouselService;
}