function DefaultContentSubscriber::__construct

Same name in this branch
  1. 11.x core/modules/layout_builder/src/EventSubscriber/DefaultContentSubscriber.php \Drupal\layout_builder\EventSubscriber\DefaultContentSubscriber::__construct()
  2. 11.x core/modules/link/src/EventSubscriber/DefaultContentSubscriber.php \Drupal\link\EventSubscriber\DefaultContentSubscriber::__construct()
  3. 11.x core/modules/path/src/EventSubscriber/DefaultContentSubscriber.php \Drupal\path\EventSubscriber\DefaultContentSubscriber::__construct()

File

core/modules/content_moderation/src/EventSubscriber/DefaultContentSubscriber.php, line 19

Class

DefaultContentSubscriber
Subscribes to default content-related events.

Namespace

Drupal\content_moderation\EventSubscriber

Code

public function __construct(private readonly ModerationInformationInterface $moderationInfo) {
}

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