You are here

protected property EntityTypeInfo::$moderationHandlers in Drupal 9

Same name and namespace in other branches
  1. 8 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_moderation

Code

protected $moderationHandlers = [
  'node' => NodeModerationHandler::class,
  'block_content' => BlockContentModerationHandler::class,
];