function SystemAdminMenuBlockAccessCheck::__construct

Same name in other branches
  1. 11.x core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php \Drupal\system\Access\SystemAdminMenuBlockAccessCheck::__construct()

Constructs a new SystemAdminMenuBlockAccessCheck.

Parameters

\Drupal\Core\Access\AccessManagerInterface $accessManager: The access manager.

\Drupal\Core\Menu\MenuLinkTreeInterface $menuLinkTree: The menu link tree service.

\Drupal\Core\Routing\AccessAwareRouter $router: The router service.

\Drupal\Core\Menu\MenuLinkManagerInterface $menuLinkManager: The menu link manager service.

File

core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php, line 37

Class

SystemAdminMenuBlockAccessCheck
Access check for routes implementing _access_admin_menu_block_page.

Namespace

Drupal\system\Access

Code

public function __construct(AccessManagerInterface $accessManager, MenuLinkTreeInterface $menuLinkTree, AccessAwareRouter $router, MenuLinkManagerInterface $menuLinkManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.