function MediaTranslationUITest::getNewEntityValues
Same name in other branches
- 9 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getNewEntityValues()
- 10 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getNewEntityValues()
- 11.x core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getNewEntityValues()
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.