You are here

protected function ShortcutTranslationUITest::getNewEntityValues in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php \Drupal\shortcut\Tests\ShortcutTranslationUITest::getNewEntityValues()

Returns an array of entity field values to be tested.

Overrides ContentTranslationUITestBase::getNewEntityValues

File

core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php, line 66
Contains \Drupal\shortcut\Tests\ShortcutTranslationUITest.

Class

ShortcutTranslationUITest
Tests the shortcut translation UI.

Namespace

Drupal\shortcut\Tests

Code

protected function getNewEntityValues($langcode) {
  return array(
    'title' => array(
      array(
        'value' => $this
          ->randomMachineName(),
      ),
    ),
  ) + parent::getNewEntityValues($langcode);
}