You are here

function advpoll_init in Advanced Poll 6

Same name and namespace in other branches
  1. 5 advpoll.module \advpoll_init()
  2. 6.3 advpoll.module \advpoll_init()
  3. 6.2 advpoll.module \advpoll_init()

Implementation of hook_init().

File

./advpoll.module, line 194
Advanced Poll - a sophisticated polling module for voting, elections, and group decision-making.

Code

function advpoll_init() {

  // Use poll.module's stylesheet, no need to duplicate at this point.
  drupal_add_css(drupal_get_path('module', 'poll') . '/poll.css');

  // Load the mode include files.
  _advpoll_list_modes();
}