function background_image_formatter_theme in Simple Background image formatter 7
Same name and namespace in other branches
- 8 background_image_formatter.module \background_image_formatter_theme()
Implements hook_theme().
File
- ./
background_image_formatter.module, line 157
Code
function background_image_formatter_theme() {
return array(
'background_image_formatter_css' => array(
'variables' => array(
'background_image_selector' => NULL,
'image' => array(),
),
),
'background_image_formatter_inline' => array(
'template' => 'templates/background-image-formatter-inline',
'arguments' => array(
'background_image_selector' => NULL,
'image_url' => NULL,
),
),
);
}