function bootstrap_carousel_if_field_formatter_info in Bootstrap Carousel Image Formatter 7.3
Implements hook_field_formatter_info().
File
- ./
bootstrap_carousel_if.module, line 11 - Bootstrap Carousel Image Field.
Code
function bootstrap_carousel_if_field_formatter_info() {
$info['bootstrap_carousel_if'] = array(
'label' => t('Bootstrap Carousel'),
'field types' => array(
'image',
),
'module' => 'bootstrap_carousel_if',
'settings' => array(
'interval' => '5000',
'pause' => 0,
'wrap' => 0,
'keyboard' => 0,
'indicators' => 1,
'image_style' => 0,
'background' => 0,
'background_pos' => 'center center',
'width' => '100%',
'height' => '100px',
),
);
return $info;
}