interface PreprocessEntityEventInterface in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Event/PreprocessEntityEventInterface.php \Drupal\preprocess_event_dispatcher\Event\PreprocessEntityEventInterface
Interface PreprocessEntityEventInterface.
Hierarchy
- interface \Drupal\preprocess_event_dispatcher\Event\PreprocessEventInterface
- interface \Drupal\preprocess_event_dispatcher\Event\PreprocessEntityEventInterface
Expanded class hierarchy of PreprocessEntityEventInterface
All classes that implement PreprocessEntityEventInterface
2 files declare their use of PreprocessEntityEventInterface
- EntityEventVariablesTest.php in modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ EntityEventVariablesTest.php - PreprocessEventService.php in modules/
preprocess_event_dispatcher/ src/ Service/ PreprocessEventService.php
File
- modules/
preprocess_event_dispatcher/ src/ Event/ PreprocessEntityEventInterface.php, line 10
Namespace
Drupal\preprocess_event_dispatcher\EventView source
interface PreprocessEntityEventInterface extends PreprocessEventInterface {
/**
* Get the event name, with optional bundle and view mode.
*
* @param string $bundle
* Optional bundle.
* @param string $viewMode
* Optional view mode.
*
* @return string
* Event name.
*/
public static function name(string $bundle = '', string $viewMode = '') : string;
/**
* Get the Entity variables.
*
* @return \Drupal\preprocess_event_dispatcher\Variables\AbstractEntityEventVariables
* Entity variables.
*/
public function getVariables() : AbstractEventVariables;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PreprocessEntityEventInterface:: |
public | function |
Get the Entity variables. Overrides PreprocessEventInterface:: |
|
PreprocessEntityEventInterface:: |
public static | function |
Get the event name, with optional bundle and view mode. Overrides PreprocessEventInterface:: |
|
PreprocessEventInterface:: |
public | constant | ||
PreprocessEventInterface:: |
public static | function | Get the hook name. | 18 |