You are here

public function EditForm::__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.

\Drupal\Core\Logger\LoggerChannelInterface $logger: Logger.

File

src/Form/EditForm.php, line 74

Class

EditForm
Class EditForm.

Namespace

Drupal\bootstrap_simple_carousel\Form

Code

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