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 66

Class

EntityTypeInfo
Manipulates entity type information.

Namespace

Drupal\content_moderation

Code

1
2
3
4
protected $moderationHandlers = [
  'node' => NodeModerationHandler::class,
  'block_content' => BlockContentModerationHandler::class,
];
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.