You are here

function domain_alias_menu in Domain Access 6.2

Same name and namespace in other branches
  1. 7.3 domain_alias/domain_alias.module \domain_alias_menu()
  2. 7.2 domain_alias/domain_alias.module \domain_alias_menu()

Implement hook_menu().

File

domain_alias/domain_alias.module, line 73
Interface for advanced domain matching for Domain Access.

Code

function domain_alias_menu() {
  $items = array();
  $items['admin/build/domain/alias/%domain'] = array(
    'title' => 'Edit domain aliases',
    'access arguments' => array(
      'administer domains',
    ),
    'type' => MENU_CALLBACK,
    'page callback' => 'domain_alias',
    'page arguments' => array(
      4,
    ),
    'file' => 'domain_alias.admin.inc',
  );
  return $items;
}