protected function MediaTranslationUITest::getNewEntityValues in Drupal 8
Same name and namespace in other branches
- 9 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getNewEntityValues()
Returns an array of entity field values to be tested.
Overrides ContentTranslationUITestBase::getNewEntityValues
File
- core/
modules/ media/ tests/ src/ Functional/ MediaTranslationUITest.php, line 96
Class
- MediaTranslationUITest
- Tests the Media Translation UI.
Namespace
Drupal\Tests\media\FunctionalCode
protected function getNewEntityValues($langcode) {
return [
'name' => [
[
'value' => $this
->randomMachineName(),
],
],
'field_media_test' => [
[
'value' => $this
->randomMachineName(),
],
],
] + parent::getNewEntityValues($langcode);
}