public function MediaTypeDeleteConfirmForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 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\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}