Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function atavism_core_menu() {
- $items['admin/atavism/config/server-configuration'] = array(
- 'title' => 'Server Configuration',
- 'page callback' => 'drupal_get_form',
- 'page arguments' => array('atavism_core_server_config_form'),
- 'access callback' => 'user_access',
- 'access arguments' => array('configure servers'),
- );
- $items['admin/atavism/config/server-configuration/configure'] = array(
- 'title' => 'Master Server Configuration',
- 'page callback' => 'drupal_get_form',
- 'type' => MENU_DEFAULT_LOCAL_TASK,
- 'page arguments' => array('atavism_core_server_config_form'),
- 'access callback' => 'user_access',
- 'access arguments' => array('configure servers'),
- );
- $items['admin/atavism/config/server-configuration/servers'] = array(
- 'title' => 'Server List',
- 'page callback' => 'drupal_get_form',
- 'type' => MENU_LOCAL_TASK,
- 'page arguments' => array('atavism_core_server_list_form'),
- 'access callback' => 'user_access',
- 'access arguments' => array('configure servers'),
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement