public function MultifieldTestBase::saveTestEntity in Multifield 7
Same name and namespace in other branches
- 7.2 tests/MultifieldTestBase.test \MultifieldTestBase::saveTestEntity()
1 call to MultifieldTestBase::saveTestEntity()
File
- tests/
MultifieldTestBase.test, line 20
Class
Code
public function saveTestEntity($entity) {
$this
->submitEntity('test_entity', $entity);
// Save the entity
field_test_entity_save($entity);
// Reload the entity.
return field_test_entity_test_load($entity->ftid);
}