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

protected $moderationHandlers = [
  'node' => NodeModerationHandler::class,
  'block_content' => BlockContentModerationHandler::class,
];
doc_Drupal
2016-10-29 09:08:15
Comments
Leave a Comment

Please login to continue.