function rules_user_roles_options_list

Options list callback for user roles.

Related topics

2 string references to 'rules_user_roles_options_list'
rules_user_action_info in modules/user.rules.inc
Implements hook_rules_action_info() on behalf of the user module.
rules_user_condition_info in modules/user.rules.inc
Implements hook_rules_condition_info() on behalf of the user module.

File

modules/user.rules.inc, line 253

Code

function rules_user_roles_options_list($element) {
    return entity_metadata_user_roles('roles', array(), $element instanceof RulesConditionInterface ? 'view' : 'edit');
}