You are here

function restful_test_clear_access_field in RESTful 7

Same name and namespace in other branches
  1. 7.2 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 68
Helper module for testing the RESTful module.

Code

function restful_test_clear_access_field() {
  variable_del('restful_test_deny_access_field');
}