You are here

function _media_gallery_get_lightbox_extras_values in Media Gallery 7.2

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

Allowed values callback for media_gallery_lightbox_extras list field.

2 string references to '_media_gallery_get_lightbox_extras_values'
media_gallery_update_7000 in ./media_gallery.install
Set the default value of media_gallery_expose_block to zero In order to have the expose block checkbox appear above the column and row number dropdowns it was necessary to update those field instances with their initial values, essentially refreshing…
_media_gallery_controlled_fields in ./media_gallery.install
Returns definitions for fields this module both creates and deletes.

File

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

Code

function _media_gallery_get_lightbox_extras_values() {
  return array(
    0 => t('Do not show title and description'),
    1 => t('Show title and description'),
  );
}