You are here

function menu_block_export_menu in Menu Block 7.3

Same name and namespace in other branches
  1. 7.2 menu_block_export.module \menu_block_export_menu()

Implements hook_menu().

File

./menu_block_export.module, line 11
Provides export interface for Menu block.

Code

function menu_block_export_menu() {
  $items['admin/config/user-interface/menu-block/config'] = array(
    'title' => 'Configure',
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );
  $items['admin/config/user-interface/menu-block/export'] = array(
    'title' => 'export',
    'description' => 'Export menu blocks.',
    'access callback' => 'menu_block_access',
    'page callback' => 'menu_block_export_export',
    'type' => MENU_LOCAL_TASK,
    'file' => 'menu_block_export.admin.inc',
  );
  $items['admin/config/user-interface/menu-block/export/results'] = array(
    'title' => 'Menu block bulk export results',
    'description' => 'Exported menu blocks.',
    'access callback' => 'menu_block_access',
    'page callback' => 'menu_block_export_export',
    'type' => MENU_CALLBACK,
    'file' => 'menu_block_export.admin.inc',
  );
  return $items;
}