function rules_condition_entity_field_access_op_options
Returns options for choosing a field_access() operation.
Related topics
1 string reference to 'rules_condition_entity_field_access_op_options'
- rules_entity_condition_info in modules/
entity.rules.inc - Implements hook_rules_condition_info() on behalf of the entity module.
File
-
modules/
entity.rules.inc, line 479
Code
function rules_condition_entity_field_access_op_options(RulesAbstractPlugin $element) {
return array(
'view' => t('View'),
'edit' => t('Edit'),
);
}