You are here

function domain_conf_menu in Domain Access 6.2

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

Implement hook_menu()

File

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

Code

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