function js_callback_examples_init in JS Callback Handler 7.2
Implements hook_init().
File
- js_callback_examples/
js_callback_examples.module, line 47 - Provides examples on how to use the JS module API.
Code
function js_callback_examples_init() {
global $_js;
if (!$_js) {
drupal_set_message(t('You have the JS Example module enabled. Please make sure you disable it when you are done. View <a href="!url">example page</a>.', array(
'!url' => url('js-callback-examples'),
)), 'status', FALSE);
}
}