You are here

function fancybox_field_formatter_grouping_options in fancyBox 7.2

Return an array of available grouping options.

2 calls to fancybox_field_formatter_grouping_options()
fancybox_field_formatter_settings_form in ./fancybox.module
Implements hook_field_formatter_settings_form().
fancybox_field_formatter_settings_summary in ./fancybox.module
Implements hook_field_formatter_settings_summary().

File

./fancybox.module, line 366
Provides the fancyBox jQuery plugin, a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages, and an extensive settings page for configuring fancyBox settings and how fancyBox…

Code

function fancybox_field_formatter_grouping_options() {
  $grouping = array(
    'none' => t('<none>'),
    'post' => t('Per post gallery'),
    'page' => t('Per page gallery'),
    'field_post' => t('Per field in post gallery'),
    'field_page' => t('Per field in page gallery'),
    'custom' => t('Custom'),
  );
  drupal_alter('fancybox_grouping_options', $grouping);
  return $grouping;
}