function flag_init in Flag 6
Same name and namespace in other branches
- 5 flag.module \flag_init()
- 6.2 flag.module \flag_init()
- 7.3 flag.module \flag_init()
- 7.2 flag.module \flag_init()
Implementation of hook_init().
File
- ./
flag.module, line 82
Code
function flag_init() {
$path = drupal_get_path('module', 'flag');
if (module_exists('trigger')) {
include_once $path . '/includes/flag.actions.inc';
}
if (module_exists('token')) {
include_once $path . '/includes/flag.token.inc';
}
}