You are here

function getdirections_init in Get Directions 6

Same name and namespace in other branches
  1. 6.2 getdirections.module \getdirections_init()
  2. 7.3 getdirections.module \getdirections_init()
  3. 7.2 getdirections.module \getdirections_init()

Implementation of hook_init().

File

./getdirections.module, line 23
Fetches google map directions.

Code

function getdirections_init() {
  module_load_include('inc', 'getdirections', 'getdirections.api');
  module_load_include('inc', 'getdirections', 'getdirections.theme');
  drupal_add_js(drupal_get_path('module', 'getdirections') . '/getdirections.js');
}