You are here

protected function FieldCollectionBasicTestCase::clearHookMessages in Field collection 7

Clear hook messages recorded by entity_crud_hook_test.

See also

FieldCollectionBasicTestCase::assertHookMessage()

FieldCollectionBasicTestCase::assertNoHookMessage()

1 call to FieldCollectionBasicTestCase::clearHookMessages()
FieldCollectionBasicTestCase::testCRUD in ./field_collection.test
Tests CRUD.

File

./field_collection.test, line 114
Tests for field_collections.

Class

FieldCollectionBasicTestCase
Test basics.

Code

protected function clearHookMessages() {
  $_SESSION['entity_crud_hook_test'] = array();
}