You are here

protected function MenuAdminPerMenuPermissions::getExistingMenus in Menu Admin per Menu 8

Returns an array of existing menus on site.

Return value

array Array of existing menus on the site.

1 call to MenuAdminPerMenuPermissions::getExistingMenus()
MenuAdminPerMenuPermissions::permissions in src/MenuAdminPerMenuPermissions.php
Returns an array of menu_admin_per_menu permissions.

File

src/MenuAdminPerMenuPermissions.php, line 25

Class

MenuAdminPerMenuPermissions
Menu Admin Per Menu Permissions class.

Namespace

Drupal\menu_admin_per_menu

Code

protected function getExistingMenus() {
  return menu_ui_get_menus();
}