function _photos_access_album_views_options in Album Photos 8.4
Same name and namespace in other branches
- 8.5 photos_access/photos_access.module \_photos_access_album_views_options()
- 7.3 photos_access/photos_access.module \_photos_access_album_views_options()
- 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 951 - 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'),
];
}