You are here

function _simple_access_filter_profiles in Simple Access 7.2

Same name and namespace in other branches
  1. 8.3 simple_access.module \_simple_access_filter_profiles()
  2. 5.2 simple_access.module \_simple_access_filter_profiles()
  3. 6.2 simple_access.module \_simple_access_filter_profiles()

Callback to filter profiles.

1 string reference to '_simple_access_filter_profiles'
simple_access_get_profiles_select in ./simple_access.module
Get all profiles as options for a select list.

File

./simple_access.module, line 611
This module allows administrators to make nodes viewable by specific 'access groups'. Each access group can contain any number of roles. If a node is not assigned to any access groups, it will remain viewable by all users.

Code

function _simple_access_filter_profiles($a) {
  return $a['name'];
}