You are here

public function GroupMenuServiceInterface::loadUserGroupMenusByGroup in Group Menu 8

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

Parameters

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

int $group_id: The group ID to load the menus from.

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

Return value

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

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

File

src/GroupMenuServiceInterface.php, line 55

Class

GroupMenuServiceInterface
Provides an interface defining a MenuAdminPerMenuAccess manager.

Namespace

Drupal\groupmenu

Code

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