You are here

public function NodeHierarchyEventSubscriber::__construct in Entity Reference Hierarchy 8

Constructs a NodeHierarchyEventSubscriber object.

File

src/EventSubscriber/NodeHierarchyEventSubscriber.php, line 35
Contains \Drupal\entity_hierarchy\EventSubscriber\NodeHierarchyEventSubscriber.

Class

NodeHierarchyEventSubscriber

Namespace

Drupal\entity_hierarchy\EventSubscriber

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}