function Upgrade6TestWithContentModeration::getEntityCounts
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::getEntityCounts()
Overrides Upgrade6Test::getEntityCounts
File
-
core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ Upgrade6TestWithContentModeration.php, line 57
Class
- Upgrade6TestWithContentModeration
- Tests Drupal 6 upgrade using the migrate UI with Content Moderation.
Namespace
Drupal\Tests\migrate_drupal_ui\Functional\d6Code
protected function getEntityCounts() : array {
$entity_counts = parent::getEntityCounts() + [
'content_moderation_state' => 17,
'workflow' => 1,
];
$entity_counts['field_config'] = $entity_counts['field_config'] + 1;
$entity_counts['view'] = $entity_counts['view'] + 1;
return $entity_counts;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.