function _login_destination_role_options in Login Destination 7
A helper function to provide role options.
3 calls to _login_destination_role_options()
- login_destination_edit_form in ./
login_destination.admin.inc - Category edit page.
- theme_login_destination_roles in ./
login_destination.admin.inc - Render a roles of login destination rule.
- _login_destination_match_rule in ./
login_destination.module - A helper function to determine whether redirection should happen.
File
- ./
login_destination.module, line 445 - Control where users are directed to, once they login
Code
function _login_destination_role_options() {
// User role selection, without anonymous user roles.
$role_options = array_map('check_plain', user_roles(TRUE));
return $role_options;
}