function Upgrade6TestWithContentModeration::getEntityCountsIncremental
Same name in other branches
- 10 core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6TestWithContentModeration.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6TestWithContentModeration::getEntityCountsIncremental()
Overrides Upgrade6Test::getEntityCountsIncremental
File
-
core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ Upgrade6TestWithContentModeration.php, line 70
Class
- Upgrade6TestWithContentModeration
- Tests Drupal 6 upgrade using the migrate UI with Content Moderation.
Namespace
Drupal\Tests\migrate_drupal_ui\Functional\d6Code
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.