function visually_impaired_module_init in Visually Impaired Support (module) 7
Implements hook_init().
File
- ./
visually_impaired_module.module, line 18 - Provides version for visually impaired people.
Code
function visually_impaired_module_init() {
drupal_add_library('system', 'jquery.cookie');
if (path_is_admin(current_path()) && variable_get('visually_impaired_module_selection') == 'default') {
drupal_set_message(t('Please select visually impaired theme in appearance settings'), 'warning');
}
}