function KernelTestCompilerPass::__construct
Constructs a KernelTestCompilerPass object.
Parameters
\Symfony\Component\DependencyInjection\Definition $definition: The kernel test service definition that will be used to register hooks.
File
-
core/
tests/ Drupal/ KernelTests/ KernelTestCompilerPass.php, line 24
Class
- KernelTestCompilerPass
- Adds hooks from kernel test to event dispatcher and module handler.
Namespace
Drupal\KernelTestsCode
public function __construct(private Definition $definition) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.