You are here

function enterprise_base_menu in Enterprise Base 7

File

./enterprise_base.module, line 10

Code

function enterprise_base_menu() {
  $items['admin/structure/enterprise_base'] = array(
    'title' => 'Enterprise Apps',
    'description' => 'Structure configuration for enterprise apps.',
    'page callback' => 'enterprise_base_apps_structures_list',
    'access arguments' => array(
      'administer widgets sets',
    ),
    'type' => MENU_NORMAL_ITEM,
    'weight' => 0,
    'file' => 'enterprise_base.admin.inc',
  );
  $items['admin/structure/enterprise_base/blocks/edit/%enterprise_base_app_structures'] = array(
    'title' => 'Edit app blocks',
    'description' => 'Configure app block settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'enterprise_base_apps_structures_blocks_form',
      5,
    ),
    'access arguments' => array(
      'administer widgets sets',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'enterprise_base.admin.inc',
  );
  $items['enterprise_base/util'] = array(
    'title' => 'Enterprise base util',
    'page callback' => 'enterprise_base_util',
    'access callback' => TRUE,
    'access arguments' => FALSE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}