You are here

public function MenuAdminPerMenuAccessInterface::getPerMenuPermissions in Menu Admin per Menu 8

Return array of all specific menu permissions.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user object for the user whose menu access is being checked.

Return value

array The array of allowed menus, keyed with permission.

1 method overrides MenuAdminPerMenuAccessInterface::getPerMenuPermissions()
MenuAdminPerMenuAccess::getPerMenuPermissions in src/Access/MenuAdminPerMenuAccess.php
Return array of all specific menu permissions.

File

src/MenuAdminPerMenuAccessInterface.php, line 24

Class

MenuAdminPerMenuAccessInterface
Provides an interface defining a MenuAdminPerMenuAccess manager.

Namespace

Drupal\menu_admin_per_menu

Code

public function getPerMenuPermissions(AccountInterface $account);