You are here

function magnific_popup_field_formatter_info in Magnific Popup 7

Implements hook_field_formatter_info().

File

includes/magnific_popup.formatters.inc, line 11
Formatters for Magnific Popup.

Code

function magnific_popup_field_formatter_info() {
  $gallery_options = _magnific_popup_gallery_options();
  return array(
    'magnific_popup_file_field_formatter' => array(
      'label' => t('Magnific Popup'),
      'field types' => array(
        'file',
        'image',
      ),
      'settings' => array(
        'gallery_style' => key($gallery_options),
        'thumbnail_field' => array(),
        'thumbnail_style' => array(),
      ),
    ),
  );
}