PreprocessEventDispatcherServiceProvider.php in Hook Event Dispatcher 8.2
Same filename and directory in other branches
Namespace
Drupal\preprocess_event_dispatcherFile
modules/preprocess_event_dispatcher/src/PreprocessEventDispatcherServiceProvider.phpView source
<?php
namespace Drupal\preprocess_event_dispatcher;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderInterface;
use Drupal\preprocess_event_dispatcher\Service\PreprocessEventPass;
/**
* Class PreprocessEventServiceProvider.
*/
final class PreprocessEventDispatcherServiceProvider implements ServiceProviderInterface {
/**
* {@inheritdoc}
*/
public function register(ContainerBuilder $container) : void {
$container
->addCompilerPass(new PreprocessEventPass());
}
}
Classes
Name | Description |
---|---|
PreprocessEventDispatcherServiceProvider | Class PreprocessEventServiceProvider. |