function BlockContentTranslationUITest::getNewEntityValues

Same name in other branches
  1. 9 core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::getNewEntityValues()
  2. 8.9.x core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::getNewEntityValues()
  3. 10 core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::getNewEntityValues()

Overrides ContentTranslationUITestBase::getNewEntityValues

1 call to BlockContentTranslationUITest::getNewEntityValues()
BlockContentTranslationUITest::doTestBasicTranslation in core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php

File

core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php, line 91

Class

BlockContentTranslationUITest
Tests the block content translation UI.

Namespace

Drupal\Tests\block_content\Functional

Code

protected function getNewEntityValues($langcode) {
    return [
        'info' => $this->randomMachineName(),
    ] + parent::getNewEntityValues($langcode);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.