You are here

public function AckMenuHandlerInterface::realmLinks in Access Control Kit 7

Finds all links in a menu for the given realm.

Parameters

int $realm: A realm value.

string $menu_name: The machine-readable name of the menu.

Return value

array The realm's menu links, sorted by depth. Each value is an array defining a link, similar to what would be returned by menu_link_load().

See also

menu_overview_form()

1 method overrides AckMenuHandlerInterface::realmLinks()
AckMenuMap::realmLinks in ack_menu/handlers/ack_menu_map.inc
Implements AckMenuHandlerInterface::realmLinks().

File

ack_menu/ack_menu_handler.inc, line 27
Contains the ACK menu handler interface.

Class

AckMenuHandlerInterface
Interface for a menu link access handler.

Code

public function realmLinks($realm, $menu_name);