final class HookEventDispatcherServiceProvider in Hook Event Dispatcher 8
Class PreprocessEventServiceProvider.
Hierarchy
- class \Drupal\hook_event_dispatcher\HookEventDispatcherServiceProvider implements ServiceProviderInterface
Expanded class hierarchy of HookEventDispatcherServiceProvider
File
- src/
HookEventDispatcherServiceProvider.php, line 12
Namespace
Drupal\hook_event_dispatcherView source
final class HookEventDispatcherServiceProvider implements ServiceProviderInterface {
/**
* {@inheritdoc}
*/
public function register(ContainerBuilder $container) {
$container
->addCompilerPass(new PreprocessEventPass());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HookEventDispatcherServiceProvider:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |