You are here

protected property EntityTypeInfo::$moderationHandlers in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 src/EntityTypeInfo.php \Drupal\workbench_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

src/EntityTypeInfo.php, line 51

Class

EntityTypeInfo
Service class for manipulating entity type information.

Namespace

Drupal\workbench_moderation

Code

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