function encryption_menu

7.x encryption.module encryption_menu()
6.x encryption.module encryption_menu()

Implements hook_menu

File

modules/encryption/encryption.module, line 25
This is the main module file for the encryption module.

Code

function encryption_menu() {
  $items = array();

  $items ["admin/config/encryption"] = array(
    "title" => "Encryption settings",
    "description" => "Configure settings related to the encryption module.",
    "page_callback" => "fp_render_form",
    "page_arguments" => array("encryption_settings_form"),
    "access_arguments" => array("administer_encryption"),
    "page_settings" => array(
      "menu_icon" => fp_get_module_path('system') . "/icons/lock.png",
      "menu_links" => array(
        0 => array(
          "text" => "Admin Console",
          "path" => "admin-tools/admin",
          "query" => "de_catalog_year=%DE_CATALOG_YEAR%",
        ),
      ),
    ),
    "type" => MENU_TYPE_NORMAL_ITEM,
    "tab_parent" => "admin-tools/admin",
  );

  return $items;
}