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
Namespace
Drupal\entity_hierarchy\EventSubscriberCode
public function __construct(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}