function _photos_access_album_views_options in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 photos_access/photos_access.module \_photos_access_album_views_options()
- 8.4 photos_access/photos_access.module \_photos_access_album_views_options()
- 7.3 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 1140 - Implementation of photos_access.module.
Code
function _photos_access_album_views_options() {
return [
0 => t('Open'),
1 => t('Locked'),
2 => t('Designated users'),
3 => t('Password required'),
4 => t('Role access'),
];
}