You are here

function _photos_access_album_views_options in Album Photos 7.3

Same name and namespace in other branches
  1. 8.5 photos_access/photos_access.module \_photos_access_album_views_options()
  2. 8.4 photos_access/photos_access.module \_photos_access_album_views_options()
  3. 6.0.x photos_access/photos_access.module \_photos_access_album_views_options()

Helper function to return options for views album privacy filter.

1 string reference to '_photos_access_album_views_options'
photos_access_views_data in photos_access/photos_access.module
Implements hook_views_data().

File

photos_access/photos_access.module, line 741

Code

function _photos_access_album_views_options() {
  return array(
    0 => t('Open'),
    1 => t('Locked'),
    2 => t('Designated users'),
    3 => t('Password required'),
  );
}