You are here

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

Get the hook name.

Return value

string Hook name.

Overrides PreprocessEventInterface::getHook

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

File

src/Event/Preprocess/StatusMessagesPreprocessEvent.php, line 13

Class

StatusMessagesPreprocessEvent
Class StatusMessagesPreprocessEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess

Code

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