Overview::__construct

public Overview::__construct(ModuleHandlerInterface $module_handler, EntityManagerInterface $entity_manager)

Constructs a \Drupal\forum\Form\OverviewForm object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.

Overrides OverviewTerms::__construct

File

core/modules/forum/src/Form/Overview.php, line 33

Class

Overview
Provides forum overview form for the forum vocabulary.

Namespace

Drupal\forum\Form

Code

public function __construct(ModuleHandlerInterface $module_handler, EntityManagerInterface $entity_manager) {
  parent::__construct($module_handler, $entity_manager);
  $this->entityManager = $entity_manager;
}
doc_Drupal
2016-10-29 09:32:46
Comments
Leave a Comment

Please login to continue.