function ContentImportTest::providerImportEntityThatAlreadyExists

Same name in other branches
  1. 10 core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php \Drupal\FunctionalTests\DefaultContent\ContentImportTest::providerImportEntityThatAlreadyExists()

Return value

array<array<mixed>>

File

core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php, line 116

Class

ContentImportTest
@covers \Drupal\Core\DefaultContent\Importer @group DefaultContent @group Recipe @group #slow

Namespace

Drupal\FunctionalTests\DefaultContent

Code

public static function providerImportEntityThatAlreadyExists() : array {
    return [
        [
            Existing::Error,
        ],
        [
            Existing::Skip,
        ],
    ];
}

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