You are here

protected function TermTranslationUITest::getNewEntityValues in Zircon Profile 8

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

Returns an array of entity field values to be tested.

Overrides ContentTranslationUITestBase::getNewEntityValues

File

core/modules/taxonomy/src/Tests/TermTranslationUITest.php, line 67
Contains \Drupal\taxonomy\Tests\TermTranslationUITest.

Class

TermTranslationUITest
Tests the Term Translation UI.

Namespace

Drupal\taxonomy\Tests

Code

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