You are here

public function OverviewTerms::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/Form/OverviewTerms.php \Drupal\taxonomy\Form\OverviewTerms::__construct()

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.

1 call to OverviewTerms::__construct()
Overview::__construct in core/modules/forum/src/Form/Overview.php
Constructs a \Drupal\forum\Form\OverviewForm object.
1 method overrides OverviewTerms::__construct()
Overview::__construct in core/modules/forum/src/Form/Overview.php
Constructs a \Drupal\forum\Form\OverviewForm object.

File

core/modules/taxonomy/src/Form/OverviewTerms.php, line 44
Contains \Drupal\taxonomy\Form\OverviewTerms.

Class

OverviewTerms

Namespace

Drupal\taxonomy\Form

Code

public function __construct(ModuleHandlerInterface $module_handler, EntityManagerInterface $entity_manager) {
  $this->moduleHandler = $module_handler;
  $this->storageController = $entity_manager
    ->getStorage('taxonomy_term');
}