You are here

function media_gallery_file_view_modes in Media Gallery 7

Same name and namespace in other branches
  1. 7.2 media_gallery.module \media_gallery_file_view_modes()

Helper function to return the view modes used by this module for displaying files in gallery context.

4 calls to media_gallery_file_view_modes()
media_gallery_entity_info_alter in ./media_gallery.module
Implements hook_entity_info_alter().
media_gallery_field_formatter_settings_form in ./media_gallery.fields.inc
Implements hook_field_formatter_settings_form().
media_gallery_install in ./media_gallery.install
Implements hook_install().
media_gallery_media_wysiwyg_allowed_view_modes_alter in ./media_gallery.module
Implements hook_media_wysiwyg_allowed_view_modes_alter().

File

./media_gallery.module, line 24

Code

function media_gallery_file_view_modes() {
  return array(
    'media_gallery_thumbnail' => t('Gallery thumbnail'),
    'media_gallery_lightbox' => t('Gallery lightbox'),
    'media_gallery_detail' => t('Gallery detail'),
    'media_gallery_block_thumbnail' => t('Gallery block thumbnail'),
    'media_gallery_collection_thumbnail' => t('Gallery collection thumbnail'),
  );
}