You are here

function domain_conf_menu in Domain Access 7.2

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.3 domain_conf/domain_conf.module \domain_conf_menu()

Implements hook_menu()

File

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

Code

function domain_conf_menu() {
  $items = array();
  $items['admin/structure/domain/conf/%domain'] = array(
    'title' => 'Domain site settings',
    'type' => MENU_VISIBLE_IN_BREADCRUMB,
    'access arguments' => array(
      'administer domains',
    ),
    'page callback' => 'domain_conf_page',
    'page arguments' => array(
      4,
    ),
    'file' => 'domain_conf.admin.inc',
  );
  $items['admin/structure/domain/conf-reset/%domain'] = 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;
}