protected property EntityTypeInfo::$moderationHandlers in Drupal 8
Same name and namespace in other branches
- 9 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 80
Class
- EntityTypeInfo
- Manipulates entity type information.
Namespace
Drupal\content_moderationCode
protected $moderationHandlers = [
'node' => NodeModerationHandler::class,
'block_content' => BlockContentModerationHandler::class,
];