You are here

public static function StatusMessagesPreprocessEvent::getHook in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/preprocess_event_dispatcher/src/Event/StatusMessagesPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\StatusMessagesPreprocessEvent::getHook()

Get the hook name.

Return value

string Hook name.

Overrides PreprocessEventInterface::getHook

1 call to StatusMessagesPreprocessEvent::getHook()
StatusMessagesPreprocessEventFactory::getEventHook in modules/preprocess_event_dispatcher/src/Factory/StatusMessagesPreprocessEventFactory.php
Get the Event hook name.

File

modules/preprocess_event_dispatcher/src/Event/StatusMessagesPreprocessEvent.php, line 13

Class

StatusMessagesPreprocessEvent
Class StatusMessagesPreprocessEvent.

Namespace

Drupal\preprocess_event_dispatcher\Event

Code

public static function getHook() : string {
  return 'status_messages';
}