EntityTypeInfo::$moderationHandlers
Same name in other branches
- 9 core/modules/content_moderation/src/EntityTypeInfo.php \Drupal\content_moderation\EntityTypeInfo::moderationHandlers
- 8.9.x core/modules/content_moderation/src/EntityTypeInfo.php \Drupal\content_moderation\EntityTypeInfo::moderationHandlers
- 10 core/modules/content_moderation/src/EntityTypeInfo.php \Drupal\content_moderation\EntityTypeInfo::moderationHandlers
A keyed array of custom moderation handlers for given entity types.
Any entity not specified will use a common default.
Type: array
File
-
core/
modules/ content_moderation/ src/ EntityTypeInfo.php, line 81
Class
- EntityTypeInfo
- Manipulates entity type information.
Namespace
Drupal\content_moderationCode
protected $moderationHandlers = [
'node' => NodeModerationHandler::class,
'block_content' => BlockContentModerationHandler::class,
'taxonomy_term' => TaxonomyTermModerationHandler::class,
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.