You are here

function cms_portfolio_field_formatter_info in Glazed CMS Portfolio 7

Implementation of hook_field_formatter_info().

Return value

array

File

./cms_portfolio.module, line 103

Code

function cms_portfolio_field_formatter_info() {
  $formatters = array(
    'twentytwenty' => array(
      'label' => t('Before/After Image Compare'),
      'field types' => array(
        'image',
      ),
      'settings' => array(
        'image_style' => '',
        'default_offset_pct' => '0.5',
      ),
    ),
  );
  return $formatters;
}