function OverviewTerms::__construct
Same name and namespace in other branches
- 11.x core/modules/taxonomy/src/Form/OverviewTerms.php \Drupal\taxonomy\Form\OverviewTerms::__construct()
- 10 core/modules/taxonomy/src/Form/OverviewTerms.php \Drupal\taxonomy\Form\OverviewTerms::__construct()
- 9 core/modules/taxonomy/src/Form/OverviewTerms.php \Drupal\taxonomy\Form\OverviewTerms::__construct()
- 8.9.x core/modules/taxonomy/src/Form/OverviewTerms.php \Drupal\taxonomy\Form\OverviewTerms::__construct()
Constructs an OverviewTerms object.
File
-
core/
modules/ taxonomy/ src/ Form/ OverviewTerms.php, line 39
Class
- OverviewTerms
- Provides terms overview form for a taxonomy vocabulary.
Namespace
Drupal\taxonomy\FormCode
public function __construct(ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_type_manager, private readonly RendererInterface $renderer, private readonly EntityRepositoryInterface $entityRepository, private readonly PagerManagerInterface $pagerManager) {
$this->setModuleHandler($module_handler);
$this->setEntityTypeManager($entity_type_manager);
$this->storageController = $entity_type_manager->getStorage('taxonomy_term');
$this->termListBuilder = $entity_type_manager->getListBuilder('taxonomy_term');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.