You are here

public function AckMenuMap::settingsForm in Access Control Kit 7

Overrides AccessControlKitHandler::settingsForm().

Overrides AccessControlKitHandler::settingsForm

File

ack_menu/handlers/ack_menu_map.inc, line 98
Contains the handler class for mapping menu links to access realms.

Class

AckMenuMap
Controls access to menu links based on realm mapping.

Code

public function settingsForm() {
  return array(
    'menus' => array(
      '#type' => 'checkboxes',
      '#title' => t('Allowed menus'),
      '#description' => t('The scheme will only manage links in the selected menus.'),
      '#options' => menu_get_menus(),
      '#default_value' => $this->menus,
    ),
  );
}