function MediaTypeDeleteConfirmForm::__construct

Same name in other branches
  1. 9 core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php \Drupal\media\Form\MediaTypeDeleteConfirmForm::__construct()
  2. 10 core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php \Drupal\media\Form\MediaTypeDeleteConfirmForm::__construct()
  3. 11.x core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php \Drupal\media\Form\MediaTypeDeleteConfirmForm::__construct()

Constructs a new MediaTypeDeleteConfirm object.

Parameters

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

File

core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php, line 30

Class

MediaTypeDeleteConfirmForm
Provides a form for media type deletion.

Namespace

Drupal\media\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
    $this->entityTypeManager = $entity_type_manager;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.