You are here

public static function AbstractPreprocessEvent::name in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/preprocess_event_dispatcher/src/Event/AbstractPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEvent::name()

Get the Event name.

Return value

string Event name.

Overrides PreprocessEventInterface::name

1 call to AbstractPreprocessEvent::name()
AbstractPreprocessEntityEvent::name in modules/preprocess_event_dispatcher/src/Event/AbstractPreprocessEntityEvent.php
Get the Event name.
1 method overrides AbstractPreprocessEvent::name()
AbstractPreprocessEntityEvent::name in modules/preprocess_event_dispatcher/src/Event/AbstractPreprocessEntityEvent.php
Get the Event name.

File

modules/preprocess_event_dispatcher/src/Event/AbstractPreprocessEvent.php, line 35

Class

AbstractPreprocessEvent
Class AbstractPreprocessEvent.

Namespace

Drupal\preprocess_event_dispatcher\Event

Code

public static function name() : string {
  return static::DISPATCH_NAME_PREFIX . static::getHook();
}