function TermTranslationUITest::getNewEntityValues

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getNewEntityValues()
  2. 10 core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getNewEntityValues()
  3. 11.x core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getNewEntityValues()

Overrides ContentTranslationUITestBase::getNewEntityValues

File

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

Class

TermTranslationUITest
Tests the Term Translation UI.

Namespace

Drupal\Tests\taxonomy\Functional

Code

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

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