function rules_test_no_access

Access callback. Returns TRUE except when $op == 'edit'.

1 string reference to 'rules_test_no_access'
rules_test_entity_property_info_alter in tests/rules_test.module
Implements hook_entity_property_info_alter() to add a property without access.

File

tests/rules_test.module, line 56

Code

function rules_test_no_access($op) {
    return $op == 'edit' ? FALSE : TRUE;
}