You are here

function domain_locale_menu in Domain Locale 6

Same name and namespace in other branches
  1. 7 domain_locale.module \domain_locale_menu()

Implementation of hook_menu().

Domain Locale only provides administrative menu items.

File

./domain_locale.module, line 25
domain_locale Domain Locale: manage languages Provides domain specific language settings

Code

function domain_locale_menu() {
  $items = array();
  $items['admin/build/domain/language/%domain'] = array(
    'title' => 'Domain language settings',
    'type' => MENU_CALLBACK,
    'access arguments' => array(
      'administer domains',
    ),
    'page callback' => 'domain_locale_page',
    'page arguments' => array(
      4,
    ),
    'file' => 'domain_locale.admin.inc',
  );
  $items['admin/build/domain/language-reset/%domain'] = array(
    'title' => 'Domain language settings',
    'type' => MENU_CALLBACK,
    'access arguments' => array(
      'administer domains',
    ),
    'page callback' => 'domain_locale_reset',
    'page arguments' => array(
      4,
    ),
    'file' => 'domain_locale.admin.inc',
  );
  return $items;
}