function ContentModeration::getEntityTypes
Same name in other branches
- 9 core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php \Drupal\content_moderation\Plugin\WorkflowType\ContentModeration::getEntityTypes()
- 8.9.x core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php \Drupal\content_moderation\Plugin\WorkflowType\ContentModeration::getEntityTypes()
- 11.x core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php \Drupal\content_moderation\Plugin\WorkflowType\ContentModeration::getEntityTypes()
Overrides ContentModerationInterface::getEntityTypes
1 call to ContentModeration::getEntityTypes()
- ContentModeration::calculateDependencies in core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModeration.php - Calculates dependencies for the configured plugin.
File
-
core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModeration.php, line 143
Class
- ContentModeration
- Attaches workflows to content entity types and their bundles.
Namespace
Drupal\content_moderation\Plugin\WorkflowTypeCode
public function getEntityTypes() {
return array_keys($this->configuration['entity_types']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.