function ShortcutTranslationUITest::getNewEntityValues
Same name in other branches
- 9 core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php \Drupal\Tests\shortcut\Functional\ShortcutTranslationUITest::getNewEntityValues()
- 8.9.x core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php \Drupal\Tests\shortcut\Functional\ShortcutTranslationUITest::getNewEntityValues()
- 10 core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php \Drupal\Tests\shortcut\Functional\ShortcutTranslationUITest::getNewEntityValues()
Overrides ContentTranslationUITestBase::getNewEntityValues
File
-
core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutTranslationUITest.php, line 67
Class
- ShortcutTranslationUITest
- Tests the shortcut translation UI.
Namespace
Drupal\Tests\shortcut\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.