function Upgrade6WithContentModerationTest::getEntityCountsIncremental

Same name and namespace in other branches
  1. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6WithContentModerationTest.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6WithContentModerationTest::getEntityCountsIncremental()

Overrides Upgrade6Test::getEntityCountsIncremental

File

core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6WithContentModerationTest.php, line 74

Class

Upgrade6WithContentModerationTest
Tests Drupal 6 upgrade using the migrate UI with Content Moderation.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d6

Code

protected function getEntityCountsIncremental() {
  $entity_counts_incremental = parent::getEntityCountsIncremental();
  $entity_counts_incremental['content_moderation_state'] = $entity_counts_incremental['content_moderation_state'] + 1;
  return $entity_counts_incremental;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.