function EntityNonRevisionableTranslatableFieldTest::setUp

Overrides EntityKernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php, line 31

Class

EntityNonRevisionableTranslatableFieldTest
Tests translating a non-revisionable field.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected function setUp() : void {
  parent::setUp();
  $this->installEntitySchema('entity_test_mulrev');
  ConfigurableLanguage::createFromLangcode('es')->save();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.