You are here

function autofloat_page_build in AutoFloat 7.2

Implements hook_page_build().

File

./autofloat.module, line 21
Autofloat module: A filter that floats images left and right automatically.

Code

function autofloat_page_build(&$page) {

  // Determine the setting to use autofloat.css or not.
  if (variable_get('autofloat_css', 1)) {
    drupal_add_css(drupal_get_path('module', 'autofloat') . '/css/autofloat.css', array(
      'group' => CSS_DEFAULT,
      'every_page' => TRUE,
    ));
  }
}