You are here

function css_emimage_preprocess_page in CSS Embedded Images 6.2

Same name and namespace in other branches
  1. 6 css_emimage.module \css_emimage_preprocess_page()

Implementation of hook_preprocess_hook().

Replace URLs with data URIs in aggregated CSS files if CSS optimization is turned on.

1 string reference to 'css_emimage_preprocess_page'
css_emimage_theme_registry_alter in ./css_emimage.module
Implementation of hook_theme_registry_alter().

File

./css_emimage.module, line 406
CSS Embedded Images module.

Code

function css_emimage_preprocess_page(&$variables) {
  if (!empty($variables['styles']) && variable_get('preprocess_css', 0)) {
    $variables['styles'] = _css_emimage_process($variables['styles']);
  }
}