You are here

function backstretch_field_formatter_info in Backstretch 7.2

Implements hook_field_formatter_info().

2 calls to backstretch_field_formatter_info()
backstretch_context_reaction_backstretch::execute in plugins/backstretch_context_reaction_backstretch.inc
backstretch_field_formatter_view in ./backstretch.module
Implements hook_field_formatter_view().

File

./backstretch.module, line 21
Main file for Backstretch Formatter module.

Code

function backstretch_field_formatter_info() {
  return array(
    'backstretch' => array(
      'label' => t('Backstretch'),
      'field types' => array(
        'image',
        'entityreference',
      ),
      'settings' => array(
        'field' => '',
        'image_style' => '',
        'element' => '',
        'element_other' => '',
        'duration' => 5000,
        'fade' => 0,
        'delta' => '',
        'center_x' => TRUE,
        'center_y' => TRUE,
        'random' => FALSE,
      ),
    ),
  );
}