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/content_moderation/src/EventSubscriber/DefaultContentSubscriber.php \Drupal\content_moderation\EventSubscriber\DefaultContentSubscriber::__construct()
  3. 11.x core/modules/path/src/EventSubscriber/DefaultContentSubscriber.php \Drupal\path\EventSubscriber\DefaultContentSubscriber::__construct()

File

core/modules/link/src/EventSubscriber/DefaultContentSubscriber.php, line 22

Class

DefaultContentSubscriber
Subscribes to default content-related events.

Namespace

Drupal\link\EventSubscriber

Code

public function __construct(protected readonly EntityTypeManagerInterface $entityTypeManager) {
}

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