function RegisterEventSubscribersPass::__construct

Constructs a RegisterEventSubscribersPass object.

Parameters

\Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass $pass: The Symfony compiler pass that registers event subscribers.

File

core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterEventSubscribersPass.php, line 20

Class

RegisterEventSubscribersPass
Wraps the Symfony event subscriber pass to use different tag names.

Namespace

Drupal\Core\DependencyInjection\Compiler

Code

public function __construct(RegisterListenersPass $pass) {
}

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