You are here

public function ParagraphPreprocessEventFactory::getEventHook in Hook Event Dispatcher 8.2

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

Get the Event hook name.

Return value

string The hook name.

Overrides PreprocessEventFactoryInterface::getEventHook

File

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

Class

ParagraphPreprocessEventFactory
Class ParagraphPreprocessEventFactory.

Namespace

Drupal\preprocess_event_dispatcher\Factory

Code

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