function background_image_formatter_field_formatter_info in Simple Background image formatter 7
Implements hook_field_formatter_info().
File
- ./
background_image_formatter.module, line 12
Code
function background_image_formatter_field_formatter_info() {
return array(
'background_image_formatter' => array(
'label' => t('Background Image'),
'field types' => array(
'image',
),
'settings' => array(
'image_style' => '',
'background_image_selector' => 'background-image-formatter',
'background_image_output_type' => 'inline',
),
),
);
}