abstract class AbstractPreprocessEntityEvent in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/src/Event/AbstractPreprocessEntityEvent.php \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEntityEvent
Class AbstractPreprocessEntityEvent.
Hierarchy
- class \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEvent extends \Symfony\Component\EventDispatcher\Event implements PreprocessEventInterface
- class \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEntityEvent implements PreprocessEntityEventInterface
Expanded class hierarchy of AbstractPreprocessEntityEvent
File
- modules/
preprocess_event_dispatcher/ src/ Event/ AbstractPreprocessEntityEvent.php, line 11
Namespace
Drupal\preprocess_event_dispatcher\EventView source
abstract class AbstractPreprocessEntityEvent extends AbstractPreprocessEvent implements PreprocessEntityEventInterface {
/**
* {@inheritdoc}
*/
public static function name(string $bundle = '', string $viewMode = '') : string {
return implode('.', array_filter([
parent::name(),
$bundle,
$viewMode,
]));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractPreprocessEntityEvent:: |
public static | function |
Get the Event name. Overrides AbstractPreprocessEvent:: |
|
AbstractPreprocessEvent:: |
protected | property | Event variables. | |
AbstractPreprocessEvent:: |
public | function |
Get the variables. Overrides PreprocessEventInterface:: |
|
AbstractPreprocessEvent:: |
public | function | PreprocessEvent constructor. | |
PreprocessEventInterface:: |
public | constant | ||
PreprocessEventInterface:: |
public static | function | Get the hook name. | 18 |