private function MenuLinkContentVisibilityCache::__construct in Custom Menu Links Visibility 8
File
- src/
MenuLinkContentVisibilityCache.php, line 45
Class
Namespace
Drupal\menu_link_content_visibilityCode
private function __construct($menu_link_content, ConditionManager $condition_manager, ContextRepositoryInterface $context_repository, ContextHandler $context_handler) {
$this->menu_link_content = $menu_link_content;
$this->condition_manager = $condition_manager;
$this->context_repository = $context_repository;
$this->context_handler = $context_handler;
$this->conditions = $this
->buildConditions();
}