You are here

function domain_theme_menu in Domain Access 7.3

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

Implements hook_menu()

File

domain_theme/domain_theme.module, line 77
Domain Theme module for the Domain Access module group.

Code

function domain_theme_menu() {
  $items = array();

  // Menu items for configuring themes.
  $items['admin/structure/domain/view/%domain/theme'] = array(
    'title' => 'Theme',
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer domains',
    ),
    'page callback' => 'domain_theme_page',
    'page arguments' => array(
      4,
    ),
    'file' => 'domain_theme.admin.inc',
  );
  $items['admin/structure/domain/view/%domain/theme-reset'] = array(
    'title' => 'Domain theme settings',
    'type' => MENU_VISIBLE_IN_BREADCRUMB,
    'access arguments' => array(
      'administer domains',
    ),
    'page callback' => 'domain_theme_reset',
    'page arguments' => array(
      4,
    ),
    'file' => 'domain_theme.admin.inc',
  );
  $items['admin/structure/domain/view/%domain/theme/%/theme-settings'] = array(
    'title' => 'Configure domain theme settings',
    'type' => MENU_VISIBLE_IN_BREADCRUMB,
    'access arguments' => array(
      'administer domains',
    ),
    'page callback' => 'domain_theme_settings',
    'page arguments' => array(
      4,
      6,
    ),
    'file' => 'domain_theme.admin.inc',
  );
  return $items;
}