You are here

public function ViewPreprocessEventFactory::getEventHook in Hook Event Dispatcher 3.x

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

Get the Event hook name.

Return value

string The hook name.

Overrides PreprocessEventFactoryInterface::getEventHook

File

modules/preprocess_event_dispatcher/src/Factory/ViewPreprocessEventFactory.php, line 24

Class

ViewPreprocessEventFactory
Class ViewPreprocessEventFactory.

Namespace

Drupal\preprocess_event_dispatcher\Factory

Code

public function getEventHook() : string {
  return ViewPreprocessEvent::getHook();
}