function MediaTypeDeleteConfirmForm::__construct
Same name in other branches
- 9 core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php \Drupal\media\Form\MediaTypeDeleteConfirmForm::__construct()
- 10 core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php \Drupal\media\Form\MediaTypeDeleteConfirmForm::__construct()
- 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\FormCode
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.