You are here

public function UltimenuTool::__construct in Ultimenu 8.2

Constructs a Ultimenu object.

File

src/UltimenuTool.php, line 76

Class

UltimenuTool
Provides Ultimenu utility methods.

Namespace

Drupal\ultimenu

Code

public function __construct(ConfigFactoryInterface $config_factory, AccountInterface $current_user, PathMatcherInterface $path_matcher, AliasRepositoryInterface $alias_repository, InfoParserInterface $info_parser, LanguageManagerInterface $language_manager, PhpTransliteration $transliteration) {
  $this->configFactory = $config_factory;
  $this->currentUser = $current_user;
  $this->pathMatcher = $path_matcher;
  $this->aliasRepository = $alias_repository;
  $this->infoParser = $info_parser;
  $this->languageManager = $language_manager;
  $this->transliteration = $transliteration;
}