ExamplePreprocessEvent.php in Hook Event Dispatcher 8.2
Same filename and directory in other branches
Namespace
Drupal\preprocess_example_module\EventFile
examples/preprocess_example_module/src/Event/ExamplePreprocessEvent.phpView source
<?php
namespace Drupal\preprocess_example_module\Event;
use Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEvent;
/**
* Class ExamplePreprocessEvent.
*/
class ExamplePreprocessEvent extends AbstractPreprocessEvent {
/**
* {@inheritdoc}
*/
public static function getHook() : string {
return 'example';
}
}
Classes
Name | Description |
---|---|
ExamplePreprocessEvent | Class ExamplePreprocessEvent. |