function autofloat_init in AutoFloat 6
Same name and namespace in other branches
- 6.2 autofloat.module \autofloat_init()
- 7 autofloat.module \autofloat_init()
Implements hook_init().
File
- ./
autofloat.module, line 21 - Autofloat module: A filter that floats images left and right automatically.
Code
function autofloat_init() {
// Determine the setting to use autofloat.css or not.
if (variable_get('autofloat_css', 1)) {
drupal_add_css(drupal_get_path('module', 'autofloat') . '/autofloat.css', $type = 'module', $media = 'all', $preprocess = TRUE);
}
}