You are here

function picture_file_formatter_info in Picture 7

Same name and namespace in other branches
  1. 7.2 picture.file_entity_1.inc \picture_file_formatter_info()

Implements hook_file_formatter_info().

File

./picture.file_entity_1.inc, line 11
Hooks and functions to support version 1 of the File Entity module.

Code

function picture_file_formatter_info() {
  $formatters['file_picture'] = array(
    'label' => t('Picture'),
    'default settings' => array(
      'picture_group' => '',
      'fallback_image_style' => '',
      'alt' => '',
      'title' => '',
    ),
    'view callback' => 'picture_file_formatter_picture_view',
    'settings callback' => 'picture_file_formatter_picture_settings',
  );
  return $formatters;
}