function ContentImportTest::providerImportEntityThatAlreadyExists

Same name and namespace in other branches
  1. 11.x 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 \Drupal\Core\DefaultContent\Importer[[api-linebreak]] @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.