function ContentImportTest::providerImportEntityThatAlreadyExists

Same name and namespace 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 115

Class

ContentImportTest
@covers <a href="/api/drupal/core%21lib%21Drupal%21Core%21DefaultContent%21Importer.php/class/Importer/11.x" title="A service for handling import of content." class="local">\Drupal\Core\DefaultContent\Importer</a> @group DefaultContent @group Recipe

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.