You are here

public function MenuAdminPerMenuAccessInterface::menuItemAccess in Menu Admin per 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\Entity\MenuLinkContent $menu_link_content: Run access checks for this menu item object.

Return value

\Drupal\Core\Access\AccessResult The access result.

1 method overrides MenuAdminPerMenuAccessInterface::menuItemAccess()
MenuAdminPerMenuAccess::menuItemAccess in src/Access/MenuAdminPerMenuAccess.php
A custom access check for menu items page.

File

src/MenuAdminPerMenuAccessInterface.php, line 61

Class

MenuAdminPerMenuAccessInterface
Provides an interface defining a MenuAdminPerMenuAccess manager.

Namespace

Drupal\menu_admin_per_menu

Code

public function menuItemAccess(AccountInterface $account, MenuLinkContent $menu_link_content = NULL);