function akamai_menu in Akamai 6.2
Same name and namespace in other branches
- 6 akamai.module \akamai_menu()
- 7.3 akamai.module \akamai_menu()
- 7 akamai.module \akamai_menu()
- 7.2 akamai.module \akamai_menu()
Implements hook_menu().
File
- ./
akamai.module, line 24 - Integration with the Akamai CDN Cache Control Web Service.
Code
function akamai_menu() {
$items = array();
$items['admin/settings/akamai'] = array(
'title' => 'Akamai Cache Control',
'description' => 'Akamai Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'akamai_settings',
),
'file' => 'akamai.admin.inc',
'access arguments' => array(
'administer akamai',
),
);
$items['admin/settings/akamai/settings'] = array(
'title' => 'Settings',
'weight' => -10,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/settings/akamai/refresh'] = array(
'title' => 'Refresh Tool',
'description' => 'Helper to flush Akamai cache from Drupal',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'akamai_cache_control',
),
'file' => 'akamai.admin.inc',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'purge akamai cache',
),
);
return $items;
}