function bg_image_formatter_field_formatter_info in Background Images Formatter 7.2
Same name and namespace in other branches
- 7 bg_image_formatter.module \bg_image_formatter_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
bg_image_formatter.module, line 41
Code
function bg_image_formatter_field_formatter_info() {
return array(
'bg_image_formatter' => array(
'label' => t('Background image'),
'field types' => array(
'image',
'imagefield_crop',
),
'settings' => array(
'image_style' => '',
'multiple' => FALSE,
'bg_image_output_type' => 'css',
'css_settings' => array(
'classes' => '',
'bg_image_selector' => 'body',
'bg_image_color' => '#FFFFFF',
'bg_image_x' => 'left',
'bg_image_y' => 'top',
'bg_image_attachment' => 'scroll',
'bg_image_repeat' => 'no-repeat',
'bg_image_background_size' => '',
'bg_image_background_size_ie8' => 0,
'bg_image_media_query' => 'all',
'bg_image_important' => 1,
),
),
),
);
}