function javascript_aggregator_menu in Javascript Aggregator 5
Implementation of hook_menu().
Adds a callback mapped on the clear_cache function.
File
- ./
javascript_aggregator.module, line 213 - Aggregates Javascript files to increase performance.
Code
function javascript_aggregator_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'clearjscache',
'callback' => 'javascript_aggregator_clear_cache',
'access' => user_access('administer site configuration'),
'type' => MENU_CALLBACK,
);
}
return $items;
}