You are here

function _media_gallery_get_allow_download_values in Media Gallery 7

Same name and namespace in other branches
  1. 7.2 media_gallery.fields.inc \_media_gallery_get_allow_download_values()

Allowed values callback for media_gallery_allow_download list field.

1 string reference to '_media_gallery_get_allow_download_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 287
Field API integration for media_gallery.module.

Code

function _media_gallery_get_allow_download_values() {
  return array(
    0 => t('Do not allow downloading of the original image'),
    1 => t('Allow downloading of the original image'),
  );
}