You are here

function galleria_field_formatter_info in Galleria 7

Same name and namespace in other branches
  1. 6 galleria.module \galleria_field_formatter_info()

Implements hook_field_formatter_info().

Adds the Galleria format option within the manage display form of of an image field.

File

./galleria.module, line 340
A light-weight, customizable image gallery plugin for Drupal based on jQuery

Code

function galleria_field_formatter_info() {
  return array(
    'galleria' => array(
      'label' => t('Galleria'),
      'field types' => array(
        'image',
        'media',
        'node_reference',
        'file',
      ),
      'settings' => array(
        'optionset' => 'default',
        'title_field' => '',
        'alt_field' => '',
        'referenced_fields' => array(),
      ),
    ),
  );
}