function date_api_menu in Date 5.2
Same name and namespace in other branches
- 8 date_api/date_api.module \date_api_menu()
- 6.2 date_api.module \date_api_menu()
- 7.3 date_api/date_api.module \date_api_menu()
- 7.2 date_api/date_api.module \date_api_menu()
Implementation of hook_menu().
Parameters
unknown_type $may_cache:
File
- ./
date_api.module, line 44 - This module will make the date API available to other modules. Designed to provide a light but flexible assortment of functions and constants, with more functionality in additional files that are not loaded unless other modules specifically include them.
Code
function date_api_menu($may_cache) {
$items = array();
if (!$may_cache) {
drupal_add_css(drupal_get_path('module', 'date_api') . '/date.css');
}
return $items;
}