protected function TermTranslationUITest::getNewEntityValues

Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getNewEntityValues().

Overrides EntityTranslationUITest::getNewEntityValues

File

drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php, line 97
Definition of Drupal\taxonomy\Tests\TermTranslationUITest.

Class

TermTranslationUITest
Tests the Term Translation UI.

Namespace

Drupal\taxonomy\Tests

Code

protected function getNewEntityValues($langcode) {

  // Term name is not translatable hence we use a fixed value.
  return array(
    'name' => $this->name,
  ) + parent::getNewEntityValues($langcode);
}