You are here

public function GroupMenuServiceInterface::loadUserGroupMenus in Group Menu 8

Load a list of menus where a user can perform a operation.

Parameters

string $op: The operation to perform on the menu.

\Drupal\Core\Session\AccountInterface $account: The user to load the menus for.

Return value

\Drupal\system\MenuInterface[] An array of menu objects keyed by menu name.

1 method overrides GroupMenuServiceInterface::loadUserGroupMenus()
GroupMenuService::loadUserGroupMenus in src/GroupMenuService.php
Load a list of menus where a user can perform a operation.

File

src/GroupMenuServiceInterface.php, line 40

Class

GroupMenuServiceInterface
Provides an interface defining a MenuAdminPerMenuAccess manager.

Namespace

Drupal\groupmenu

Code

public function loadUserGroupMenus($op, AccountInterface $account = NULL);