You are here

protected function TermTranslationUITest::getNewEntityValues in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getNewEntityValues()

Returns an array of entity field values to be tested.

Overrides ContentTranslationUITestBase::getNewEntityValues

File

core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php, line 79

Class

TermTranslationUITest
Tests the Term Translation UI.

Namespace

Drupal\Tests\taxonomy\Functional

Code

protected function getNewEntityValues($langcode) {
  return [
    'name' => $this
      ->randomMachineName(),
  ] + parent::getNewEntityValues($langcode);
}