public static function AbstractPreprocessEntityEvent::name in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Event/AbstractPreprocessEntityEvent.php \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEntityEvent::name()
Get the Event name.
Return value
string Event name.
Overrides AbstractPreprocessEvent::name
File
- modules/
preprocess_event_dispatcher/ src/ Event/ AbstractPreprocessEntityEvent.php, line 16
Class
- AbstractPreprocessEntityEvent
- Class AbstractPreprocessEntityEvent.
Namespace
Drupal\preprocess_event_dispatcher\EventCode
public static function name(string $bundle = '', string $viewMode = '') : string {
return implode('.', array_filter([
parent::name(),
$bundle,
$viewMode,
]));
}