You are here

function fancybox_field_formatter_caption_options in fancyBox 7.2

Return an array of available caption options.

2 calls to fancybox_field_formatter_caption_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 384
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_caption_options() {
  return array(
    'none' => t('<none>'),
    'auto' => t('Automatic'),
    'title' => t('Title text'),
    'alt' => t('Alt text'),
    'content_title' => t('Content title'),
    'custom' => t('Custom'),
  );
}