You are here

function domain_conf_menu in Domain Access 7.3

Same name and namespace in other branches
  1. 5 domain_conf/domain_conf.module \domain_conf_menu()
  2. 6.2 domain_conf/domain_conf.module \domain_conf_menu()
  3. 7.2 domain_conf/domain_conf.module \domain_conf_menu()

Implements hook_menu()

File

domain_conf/domain_conf.module, line 167
Domain manager configuration options.

Code

function domain_conf_menu() {
  $items = array();
  $items['admin/structure/domain/view/%domain/config'] = array(
    'title' => 'Settings',
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer domains',
    ),
    'page callback' => 'domain_conf_page',
    'page arguments' => array(
      4,
    ),
    'file' => 'domain_conf.admin.inc',
  );
  $items['admin/structure/domain/view/%domain/conf-reset'] = array(
    'title' => 'Domain site settings',
    'type' => MENU_VISIBLE_IN_BREADCRUMB,
    'access arguments' => array(
      'administer domains',
    ),
    'page callback' => 'domain_conf_reset',
    'page arguments' => array(
      4,
    ),
    'file' => 'domain_conf.admin.inc',
  );
  return $items;
}