function ContentTranslationUITestBase::getNewEntityValues
Same name in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase::getNewEntityValues()
- 8.9.x core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues()
- 8.9.x core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase::getNewEntityValues()
- 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase::getNewEntityValues()
Returns an array of entity field values to be tested.
5 calls to ContentTranslationUITestBase::getNewEntityValues()
- BlockContentTranslationUITest::getNewEntityValues in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTranslationUITest.php - Returns an array of entity field values to be tested.
- ContentTranslationUITestBase::doTestBasicTranslation in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationUITestBase.php - Tests the basic translation workflow.
- ShortcutTranslationUITest::getNewEntityValues in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutTranslationUITest.php - Returns an array of entity field values to be tested.
- TermTranslationUITest::getNewEntityValues in core/
modules/ taxonomy/ tests/ src/ Functional/ TermTranslationUITest.php - Returns an array of entity field values to be tested.
- UserTranslationUITest::getNewEntityValues in core/
modules/ user/ tests/ src/ Functional/ UserTranslationUITest.php - Returns an array of entity field values to be tested.
7 methods override ContentTranslationUITestBase::getNewEntityValues()
- BlockContentTranslationUITest::getNewEntityValues in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTranslationUITest.php - Returns an array of entity field values to be tested.
- CommentTranslationUITest::getNewEntityValues in core/
modules/ comment/ tests/ src/ Functional/ CommentTranslationUITest.php - Returns an array of entity field values to be tested.
- MediaTranslationUITest::getNewEntityValues in core/
modules/ media/ tests/ src/ Functional/ MediaTranslationUITest.php - Returns an array of entity field values to be tested.
- NodeTranslationUITest::getNewEntityValues in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - Returns an array of entity field values to be tested.
- ShortcutTranslationUITest::getNewEntityValues in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutTranslationUITest.php - Returns an array of entity field values to be tested.
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationUITestBase.php, line 400
Class
- ContentTranslationUITestBase
- Tests the Content Translation UI.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function getNewEntityValues($langcode) {
return [
$this->fieldName => [
[
'value' => $this->randomMachineName(16),
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.