function domain_theme_menu in Domain Access 7.2
Same name and namespace in other branches
- 5 domain_theme/domain_theme.module \domain_theme_menu()
- 6.2 domain_theme/domain_theme.module \domain_theme_menu()
- 7.3 domain_theme/domain_theme.module \domain_theme_menu()
Implements hook_menu()
File
- domain_theme/
domain_theme.module, line 72 - 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/theme/%domain'] = array(
'title' => 'Domain theme settings',
'type' => MENU_VISIBLE_IN_BREADCRUMB,
'access arguments' => array(
'administer domains',
),
'page callback' => 'domain_theme_page',
'page arguments' => array(
4,
),
'file' => 'domain_theme.admin.inc',
);
$items['admin/structure/domain/theme-reset/%domain'] = 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/theme/%/%domain/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,
5,
),
'file' => 'domain_theme.admin.inc',
);
return $items;
}