protected function ContentTranslationUITestBase::getNewEntityValues in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues()
 
Returns an array of entity field values to be tested.
7 calls to ContentTranslationUITestBase::getNewEntityValues()
- BlockContentTranslationUITest::getNewEntityValues in core/
modules/ block_content/ src/ Tests/ BlockContentTranslationUITest.php  - Returns an array of entity field values to be tested.
 - CommentTranslationUITest::getNewEntityValues in core/
modules/ comment/ src/ Tests/ CommentTranslationUITest.php  - Returns an array of entity field values to be tested.
 - ContentTranslationUITestBase::doTestBasicTranslation in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php  - Tests the basic translation workflow.
 - NodeTranslationUITest::getNewEntityValues in core/
modules/ node/ src/ Tests/ NodeTranslationUITest.php  - Returns an array of entity field values to be tested.
 - ShortcutTranslationUITest::getNewEntityValues in core/
modules/ shortcut/ src/ Tests/ ShortcutTranslationUITest.php  - Returns an array of entity field values to be tested.
 
6 methods override ContentTranslationUITestBase::getNewEntityValues()
- BlockContentTranslationUITest::getNewEntityValues in core/
modules/ block_content/ src/ Tests/ BlockContentTranslationUITest.php  - Returns an array of entity field values to be tested.
 - CommentTranslationUITest::getNewEntityValues in core/
modules/ comment/ src/ Tests/ CommentTranslationUITest.php  - Returns an array of entity field values to be tested.
 - NodeTranslationUITest::getNewEntityValues in core/
modules/ node/ src/ Tests/ NodeTranslationUITest.php  - Returns an array of entity field values to be tested.
 - ShortcutTranslationUITest::getNewEntityValues in core/
modules/ shortcut/ src/ Tests/ ShortcutTranslationUITest.php  - Returns an array of entity field values to be tested.
 - TermTranslationUITest::getNewEntityValues in core/
modules/ taxonomy/ src/ Tests/ TermTranslationUITest.php  - Returns an array of entity field values to be tested.
 
File
- core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php, line 358  - Contains \Drupal\content_translation\Tests\ContentTranslationUITestBase.
 
Class
- ContentTranslationUITestBase
 - Tests the Content Translation UI.
 
Namespace
Drupal\content_translation\TestsCode
protected function getNewEntityValues($langcode) {
  return array(
    $this->fieldName => array(
      array(
        'value' => $this
          ->randomMachineName(16),
      ),
    ),
  );
}