protected function BlockContentTranslationUITest::getNewEntityValues in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/block_content/src/Tests/BlockContentTranslationUITest.php \Drupal\block_content\Tests\BlockContentTranslationUITest::getNewEntityValues()
Returns an array of entity field values to be tested.
Overrides ContentTranslationUITestBase::getNewEntityValues
1 call to BlockContentTranslationUITest::getNewEntityValues()
- BlockContentTranslationUITest::doTestBasicTranslation in core/
modules/ block_content/ src/ Tests/ BlockContentTranslationUITest.php - Tests the basic translation workflow.
File
- core/
modules/ block_content/ src/ Tests/ BlockContentTranslationUITest.php, line 111 - Contains \Drupal\block_content\Tests\BlockContentTranslationUITest.
Class
- BlockContentTranslationUITest
- Tests the block content translation UI.
Namespace
Drupal\block_content\TestsCode
protected function getNewEntityValues($langcode) {
return array(
'info' => Unicode::strtolower($this
->randomMachineName()),
) + parent::getNewEntityValues($langcode);
}