function ContentImportAlreadyExistsTest::providerImportEntityThatAlreadyExists

Return value

array<array<mixed>> An array of test cases, each containing an existing entity handling mode.

File

core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportAlreadyExistsTest.php, line 86

Class

ContentImportAlreadyExistsTest
Tests Content Import.

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.