protected function EntityApiTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Entity/EntityApiTest.php \Drupal\system\Tests\Entity\EntityApiTest::setUp()
@inheritdoc
Overrides EntityUnitTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ Entity/ EntityApiTest.php, line 23 - Contains \Drupal\system\Tests\Entity\EntityApiTest.
Class
- EntityApiTest
- Tests basic CRUD functionality.
Namespace
Drupal\system\Tests\EntityCode
protected function setUp() {
parent::setUp();
foreach (entity_test_entity_types() as $entity_type_id) {
// The entity_test schema is installed by the parent.
if ($entity_type_id != 'entity_test') {
$this
->installEntitySchema($entity_type_id);
}
}
}