You are here

public function UltimenuManager::__construct in Ultimenu 8.2

Same name and namespace in other branches
  1. 8 src/UltimenuManager.php \Drupal\ultimenu\UltimenuManager::__construct()

Constructs a Ultimenu object.

Overrides UltimenuBase::__construct

File

src/UltimenuManager.php, line 97

Class

UltimenuManager
Implements UltimenuManagerInterface.

Namespace

Drupal\ultimenu

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, BlockManagerInterface $block_manager, ModuleHandlerInterface $module_handler, RendererInterface $renderer, UltimenuTreeInterface $tree, UltimenuToolInterface $tool) {
  parent::__construct($config_factory, $entity_type_manager, $block_manager);
  $this->moduleHandler = $module_handler;
  $this->renderer = $renderer;
  $this->tree = $tree;
  $this->tool = $tool;
}