function restful_test_clear_access_field in RESTful 7.2
Same name and namespace in other branches
- 7 tests/modules/restful_test/restful_test.module \restful_test_clear_access_field()
Clear un-accessible fields.
3 calls to restful_test_clear_access_field()
- RestfulEntityAndPropertyAccessTestCase::testCreateAccess in tests/
RestfulEntityAndPropertyAccessTestCase.test - Test access control for creating an entity.
- RestfulEntityAndPropertyAccessTestCase::testUpdateAccess in tests/
RestfulEntityAndPropertyAccessTestCase.test - Test access control for updating an entity.
- RestfulEntityAndPropertyAccessTestCase::testViewAccess in tests/
RestfulEntityAndPropertyAccessTestCase.test - Test access control for viewing an entity.
File
- tests/
modules/ restful_test/ restful_test.module, line 59 - Helper module for testing the RESTful module.
Code
function restful_test_clear_access_field() {
variable_del('restful_test_deny_access_field');
}