You are here

function agenda_init in Agenda 6

Same name and namespace in other branches
  1. 6.2 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 98

Code

function agenda_init() {
  $basepath = drupal_get_path('module', 'agenda');
  drupal_add_css($basepath . '/agenda.css');
  drupal_add_js($basepath . '/agenda.js');
}