function blocks_menu

4.x blocks.module blocks_menu()
5.x blocks.module blocks_menu()

File

modules/blocks/blocks.module, line 20

Code

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


  $items ["admin/config/blocks"] = array(
    "title" => "Blocks",
    "description" => "Configure blocks of content and where they show up in FlightPath",
    "page_callback" => "fp_render_form",
    "page_arguments" => array("blocks_manage_blocks_form"),
    "access_arguments" => array("admin_blocks"),
    "page_settings" => array(
      "page_has_search" => FALSE,
      "page_banner_is_link" => TRUE,
      "page_hide_report_error" => TRUE,
      "menu_links" => array(
        0 => array(
          "text" => "Back to main menu",
          "path" => "admin-tools/admin",
          "query" => "de_catalog_year=%DE_CATALOG_YEAR%",
        ),
      ),
    ),
    "type" => MENU_TYPE_TAB,
    "tab_family" => "blocks_manage",
  );


  return $items;
}