function external_init in External New Tab 6
Same name and namespace in other branches
- 7 external.module \external_init()
Implementation of hook_init().
File
- ./
external.module, line 27
Code
function external_init() {
if (external_active() && variable_get('external_enabled', TRUE)) {
drupal_add_js(array(
'externalpdf' => variable_get('external_docs_enabled', FALSE),
), 'setting');
drupal_add_js(drupal_get_path('module', 'external') . '/external.js');
}
}