public function ContentDelete::__construct in Delete all 2.x
Same name and namespace in other branches
- 8 src/Form/ContentDelete.php \Drupal\delete_all\Form\ContentDelete::__construct()
File
- src/
Form/ ContentDelete.php, line 21
Class
- ContentDelete
- Create a Form for deleting all content.
Namespace
Drupal\delete_all\FormCode
public function __construct(EntityTypeManagerInterface $entityTypeManager) {
$this->nodeType = $entityTypeManager
->getStorage('node_type');
}