You are here

public function DeleteForm::__construct in bootstrap simple carousel 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

File

src/Form/DeleteForm.php, line 49

Class

DeleteForm
Class DeleteForm.

Namespace

Drupal\bootstrap_simple_carousel\Form

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
  $this->carouselItemStorage = $entityTypeManager
    ->getStorage('bootstrap_simple_carousel');
  $this->entityTypeManager = $entityTypeManager;
}