public function GroupMenuAccessInterface::menuItemAccess in Group Menu 8
A custom access check for menu items page.
Parameters
\Drupal\Core\Session\AccountInterface $account: Run access checks for this account.
\Drupal\menu_link_content\MenuLinkContentInterface $menu_link_content: Run access checks for this menu item object.
Return value
\Drupal\Core\Access\AccessResult The access result.
1 method overrides GroupMenuAccessInterface::menuItemAccess()
- GroupMenuAccess::menuItemAccess in src/
Access/ GroupMenuAccess.php - A custom access check for menu items page.
File
- src/
Access/ GroupMenuAccessInterface.php, line 52
Class
- GroupMenuAccessInterface
- Provides an interface defining a MenuAdminPerMenuAccess manager.
Namespace
Drupal\groupmenu\AccessCode
public function menuItemAccess(AccountInterface $account, MenuLinkContentInterface $menu_link_content = NULL);