function date_api_init in Date 7
Same name and namespace in other branches
- 6.2 date_api.module \date_api_init()
- 6 date_api.module \date_api_init()
Implement hook_init().
File
- date_api/
date_api.module, line 736 - 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_init() {
drupal_add_css(drupal_get_path('module', 'date_api') . '/date.css', array(
'weight' => CSS_THEME,
));
}