function 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\EventSubscriber

Code

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.