You are here

public function GroupMenuAccessInterface::menuDeleteAccess in Group Menu 8

A custom access check for menu delete page.

Parameters

\Drupal\Core\Session\AccountInterface $account: Run access checks for this account.

\Drupal\system\MenuInterface $menu: Run access checks for this menu object.

Return value

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

1 method overrides GroupMenuAccessInterface::menuDeleteAccess()
GroupMenuAccess::menuDeleteAccess in src/Access/GroupMenuAccess.php
A custom access check for menu delete page.

File

src/Access/GroupMenuAccessInterface.php, line 39

Class

GroupMenuAccessInterface
Provides an interface defining a MenuAdminPerMenuAccess manager.

Namespace

Drupal\groupmenu\Access

Code

public function menuDeleteAccess(AccountInterface $account, MenuInterface $menu);