You are here

public function EntityReferenceRevisionsDestinationTest::getEntityTypeIdDataProvider in Entity Reference Revisions 8

Provides multiple migration definitions for "getEntityTypeId" test.

File

tests/src/Kernel/Plugin/migrate/destination/EntityReferenceRevisionsDestinationTest.php, line 75

Class

EntityReferenceRevisionsDestinationTest
Tests the migration destination plugin.

Namespace

Drupal\Tests\entity_reference_revisions\Kernel\Plugin\migrate\destination

Code

public function getEntityTypeIdDataProvider() {
  $data = $this
    ->getEntityDataProvider();
  foreach ($data as &$datum) {
    $datum['expected'] = 'entity_test_composite';
  }
  return $data;
}