You are here

function responsivewrappers_page_build in Responsive wrappers 7

Implements hook_page_build().

File

./responsivewrappers.module, line 27
Responsive bootstrap wrappers input filter.

Code

function responsivewrappers_page_build(&$page) {
  if (variable_get('responsivewrappers_add_css')) {
    $version = variable_get('responsivewrappers_output_version', 3);
    $path = drupal_get_path('module', 'responsivewrappers');
    $page['content']['#attached']['css'][$path . '/css/responsivewrappers-bootstrap' . $version . '.css'] = array(
      'every_page' => TRUE,
      'group' => CSS_THEME,
    );
  }
}