function date_api_init in Date 6
Same name and namespace in other branches
- 6.2 date_api.module \date_api_init()
- 7 date_api/date_api.module \date_api_init()
Implementation of hook_init().
File
- ./
date_api.module, line 41 - 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');
}