function simple_access_get_profiles_select in Simple Access 8.3
Same name and namespace in other branches
- 5.2 simple_access.module \simple_access_get_profiles_select()
- 6.2 simple_access.module \simple_access_get_profiles_select()
- 7.2 simple_access.module \simple_access_get_profiles_select()
Get all profiles as options for a select list.
2 calls to simple_access_get_profiles_select()
- simple_access_profile_disable_form in ./
simple_access.module - Configure disable security profile.
- simple_access_profile_enable_form in ./
simple_access.module - Configure enable security profile.
File
- ./
simple_access.module, line 365 - Builds simple access definition for content access.
Code
function simple_access_get_profiles_select() {
$profiles = simple_access_get_profiles();
return array_map('_simple_access_filter_profiles', $profiles);
}