You are here

function _media_gallery_get_format_values in Media Gallery 7.2

Same name and namespace in other branches
  1. 7 media_gallery.fields.inc \_media_gallery_get_format_values()

Allowed values callback for media_gallery_format list field.

1 string reference to '_media_gallery_get_format_values'
_media_gallery_controlled_fields in ./media_gallery.install
Returns definitions for fields this module both creates and deletes.

File

./media_gallery.fields.inc, line 242
Field API integration for media_gallery.module.

Code

function _media_gallery_get_format_values() {
  return array(
    'node' => t('Show media on a full page'),
    'lightbox' => t('Show media in a lightbox'),
  );
}