protected function ContentEntityCloneTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Entity/ContentEntityCloneTest.php \Drupal\system\Tests\Entity\ContentEntityCloneTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides EntityUnitTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ Entity/ ContentEntityCloneTest.php, line 28 - Contains \Drupal\system\Tests\Entity\ContentEntityCloneTest.
Class
- ContentEntityCloneTest
- Tests proper cloning of content entities.
Namespace
Drupal\system\Tests\EntityCode
protected function setUp() {
parent::setUp();
// Enable an additional language.
ConfigurableLanguage::createFromLangcode('de')
->save();
$this
->installEntitySchema('entity_test_mul');
}