function agenda_init in Agenda 6.2
Same name and namespace in other branches
- 6 agenda.module \agenda_init()
Implementation of hook_init().
We have to add the CSS to every page otherwise our CSS gets left out with block caching.
File
- ./
agenda.module, line 121
Code
function agenda_init() {
$basepath = drupal_get_path('module', 'agenda');
drupal_add_css($basepath . '/agenda.css');
drupal_add_js($basepath . '/agenda.js');
}