protected function NodeTranslationUITest::getNewEntityValues in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Tests/NodeTranslationUITest.php \Drupal\node\Tests\NodeTranslationUITest::getNewEntityValues()
Returns an array of entity field values to be tested.
Overrides ContentTranslationUITestBase::getNewEntityValues
1 call to NodeTranslationUITest::getNewEntityValues()
- NodeTranslationUITest::testTranslationRendering in core/
modules/ node/ src/ Tests/ NodeTranslationUITest.php - Tests that translations are rendered properly.
File
- core/
modules/ node/ src/ Tests/ NodeTranslationUITest.php, line 135 - Contains \Drupal\node\Tests\NodeTranslationUITest.
Class
- NodeTranslationUITest
- Tests the Node Translation UI.
Namespace
Drupal\node\TestsCode
protected function getNewEntityValues($langcode) {
return array(
'title' => array(
array(
'value' => $this
->randomMachineName(),
),
),
) + parent::getNewEntityValues($langcode);
}