function drd_agent_menu in DRD Agent 7.3
Same name and namespace in other branches
- 6.3 drd_agent.module \drd_agent_menu()
Implements hook_menu().
Return value
array An array of all defined menu items by this module.
File
- ./
drd_agent.module, line 11
Code
function drd_agent_menu() {
$items['drd-agent'] = array(
'title' => 'DRD Agent Callback',
'page callback' => 'drd_agent',
'access callback' => TRUE,
'delivery callback' => 'drd_agent_deliver',
'type' => MENU_CALLBACK,
);
$items['drd-agent-crypt'] = array(
'title' => 'DRD Agent Callback',
'page callback' => 'drd_agent_crypt',
'access callback' => TRUE,
'delivery callback' => 'drd_agent_deliver',
'type' => MENU_CALLBACK,
);
$items['drd-agent-authorize-secret'] = array(
'title' => 'Authorize Dashboard',
'page callback' => 'drd_agent_authorize_secret',
'access callback' => TRUE,
'delivery callback' => 'drd_agent_deliver',
'type' => MENU_CALLBACK,
);
$items['drd-agent-authorize'] = array(
'title' => 'Authorize Dashboard',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'drd_agent_authorize',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'drd_agent.admin.inc',
'type' => MENU_CALLBACK,
);
$items['admin/config/system/drd'] = array(
'title' => 'DRD',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'drd_agent_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'drd_agent.admin.inc',
);
return $items;
}