public OverviewTerms::__construct(ModuleHandlerInterface $module_handler, EntityManagerInterface $entity_manager)
Constructs an OverviewTerms object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.
File
- core/modules/taxonomy/src/Form/OverviewTerms.php, line 39
Class
- OverviewTerms
- Provides terms overview form for a taxonomy vocabulary.
Namespace
Drupal\taxonomy\Form
Code
1 2 3 4 | public function __construct(ModuleHandlerInterface $module_handler , EntityManagerInterface $entity_manager ) { $this ->moduleHandler = $module_handler ; $this ->storageController = $entity_manager ->getStorage( 'taxonomy_term' ); } |
Please login to continue.