function theme_background_image_formatter_css in Simple Background image formatter 7
CSS theme callback function.
1 theme call to theme_background_image_formatter_css()
File
- ./
background_image_formatter.helpers.inc, line 10 - Helpers for module.
Code
function theme_background_image_formatter_css($variables) {
$css = $variables['background_image_selector'] . ' {background-image: url("' . $variables['image_url'] . '");}' . PHP_EOL;
drupal_add_css($css, array(
'type' => 'inline',
));
}