ContentModerationRouteSubscriber::$moderatedEntityTypes

Same name in other branches
  1. 9 core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php \Drupal\content_moderation\Routing\ContentModerationRouteSubscriber::moderatedEntityTypes
  2. 8.9.x core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php \Drupal\content_moderation\Routing\ContentModerationRouteSubscriber::moderatedEntityTypes
  3. 11.x core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php \Drupal\content_moderation\Routing\ContentModerationRouteSubscriber::moderatedEntityTypes

An associative array of moderated entity types keyed by ID.

Type: \Drupal\Core\Entity\ContentEntityTypeInterface[]

File

core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php, line 36

Class

ContentModerationRouteSubscriber
Subscriber for moderated revisionable entity forms.

Namespace

Drupal\content_moderation\Routing

Code

protected $moderatedEntityTypes;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.