function DefaultContentSubscriber::__construct
Same name in this branch
- 11.x core/modules/content_moderation/src/EventSubscriber/DefaultContentSubscriber.php \Drupal\content_moderation\EventSubscriber\DefaultContentSubscriber::__construct()
- 11.x core/modules/link/src/EventSubscriber/DefaultContentSubscriber.php \Drupal\link\EventSubscriber\DefaultContentSubscriber::__construct()
- 11.x core/modules/path/src/EventSubscriber/DefaultContentSubscriber.php \Drupal\path\EventSubscriber\DefaultContentSubscriber::__construct()
File
-
core/
modules/ layout_builder/ src/ EventSubscriber/ DefaultContentSubscriber.php, line 23
Class
- DefaultContentSubscriber
- Subscribes to default content-related events.
Namespace
Drupal\layout_builder\EventSubscriberCode
public function __construct(private readonly EntityRepositoryInterface $entityRepository) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.