final class PreprocessEventDispatcherServiceProvider in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/src/PreprocessEventDispatcherServiceProvider.php \Drupal\preprocess_event_dispatcher\PreprocessEventDispatcherServiceProvider
Class PreprocessEventServiceProvider.
Hierarchy
- class \Drupal\preprocess_event_dispatcher\PreprocessEventDispatcherServiceProvider implements ServiceProviderInterface
Expanded class hierarchy of PreprocessEventDispatcherServiceProvider
File
- modules/
preprocess_event_dispatcher/ src/ PreprocessEventDispatcherServiceProvider.php, line 12
Namespace
Drupal\preprocess_event_dispatcherView source
final class PreprocessEventDispatcherServiceProvider implements ServiceProviderInterface {
/**
* {@inheritdoc}
*/
public function register(ContainerBuilder $container) : void {
$container
->addCompilerPass(new PreprocessEventPass());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PreprocessEventDispatcherServiceProvider:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |