protected function MigrateUiParagraphsTestBase::getEntityCounts

1 call to MigrateUiParagraphsTestBase::getEntityCounts()

File

paragraphs/tests/src/Functional/Migrate/MigrateUiParagraphsTestBase.php, line 355

Class

MigrateUiParagraphsTestBase
Provides a base class for testing Paragraphs migration via the UI.

Namespace

Drupal\Tests\paragraphs\Functional\Migrate

Code

protected function getEntityCounts() {

  // This is not used.
  $entity_counts = [];
  foreach ($this
    ->getExpectedEntities() as $entity_type_id => $expected_entities) {
    $entity_counts[$entity_type_id] = count($expected_entities);
  }
  return $entity_counts;
}