domain_theme_menu()Implement hook_menu()
domain_theme/domain_theme.module, line 71
<?php
function domain_theme_menu() {
$items = array();
// Menu items for configuring themes.
$items['admin/build/domain/theme/%domain'] = array(
'title' => 'Domain theme settings',
'type' => MENU_CALLBACK,
'access arguments' => array('administer domains'),
'page callback' => 'domain_theme_page',
'page arguments' => array(4),
'file' => 'domain_theme.admin.inc',
);
$items['admin/build/domain/theme-reset/%domain'] = array(
'title' => 'Domain theme settings',
'type' => MENU_CALLBACK,
'access arguments' => array('administer domains'),
'page callback' => 'domain_theme_reset',
'page arguments' => array(4),
'file' => 'domain_theme.admin.inc',
);
$items['admin/build/domain/theme/%/%domain/theme-settings'] = array(
'title' => 'Configure domain theme settings',
'type' => MENU_CALLBACK,
'access arguments' => array('administer domains'),
'page callback' => 'domain_theme_settings',
'page arguments' => array(4, 5),
'file' => 'domain_theme.admin.inc',
);
return $items;
}
?>