You are here

function flag_init in Flag 6.2

Same name and namespace in other branches
  1. 5 flag.module \flag_init()
  2. 6 flag.module \flag_init()
  3. 7.3 flag.module \flag_init()
  4. 7.2 flag.module \flag_init()

Implements hook_init().

File

./flag.module, line 177
The Flag module.

Code

function flag_init() {
  $path = drupal_get_path('module', 'flag');
  include_once $path . '/includes/flag.actions.inc';
  if (module_exists('token')) {
    include_once $path . '/includes/flag.token.inc';
  }
}