function NodeTranslationUITest::getNewEntityValues
Same name in other branches
- 8.9.x core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::getNewEntityValues()
- 10 core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::getNewEntityValues()
- 11.x core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::getNewEntityValues()
Overrides ContentTranslationUITestBase::getNewEntityValues
1 call to NodeTranslationUITest::getNewEntityValues()
- NodeTranslationUITest::testTranslationRendering in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - Tests that translations are rendered properly.
File
-
core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php, line 162
Class
- NodeTranslationUITest
- Tests the Node Translation UI.
Namespace
Drupal\Tests\node\FunctionalCode
protected function getNewEntityValues($langcode) {
return [
'title' => [
[
'value' => $this->randomMachineName(),
],
],
] + parent::getNewEntityValues($langcode);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.