interface PreprocessEventInterface in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/src/Event/PreprocessEventInterface.php \Drupal\preprocess_event_dispatcher\Event\PreprocessEventInterface
Interface PreprocessEventInterface.
Hierarchy
- interface \Drupal\preprocess_event_dispatcher\Event\PreprocessEventInterface
Expanded class hierarchy of PreprocessEventInterface
All classes that implement PreprocessEventInterface
File
- modules/
preprocess_event_dispatcher/ src/ Event/ PreprocessEventInterface.php, line 10
Namespace
Drupal\preprocess_event_dispatcher\EventView source
interface PreprocessEventInterface {
public const DISPATCH_NAME_PREFIX = 'preprocess_';
/**
* Get the hook name.
*
* @return string
* Hook name.
*/
public static function getHook() : string;
/**
* Get the Event name.
*
* @return string
* Event name.
*/
public static function name() : string;
/**
* Get the variables.
*
* @return \Drupal\preprocess_event_dispatcher\Variables\AbstractEventVariables
* Variables.
*/
public function getVariables() : AbstractEventVariables;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PreprocessEventInterface:: |
public | constant | ||
PreprocessEventInterface:: |
public static | function | Get the hook name. | 18 |
PreprocessEventInterface:: |
public | function | Get the variables. | 2 |
PreprocessEventInterface:: |
public static | function | Get the Event name. | 2 |