protected function NodeTranslationUITest::getNewEntityValues

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

Overrides EntityTranslationUITest::getNewEntityValues

File

drupal/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php, line 103
Definition of Drupal\node\Tests\NodeTranslationUITest.

Class

NodeTranslationUITest
Tests the Node Translation UI.

Namespace

Drupal\node\Tests

Code

protected function getNewEntityValues($langcode) {

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