You are here

public function FormPreprocessEventFactory::getEventHook in Hook Event Dispatcher 8

Get the Event hook name.

Return value

string The hook name.

Overrides PreprocessEventFactoryInterface::getEventHook

File

src/Event/Preprocess/Factory/FormPreprocessEventFactory.php, line 23

Class

FormPreprocessEventFactory
Class FormPreprocessEventFactory.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Factory

Code

public function getEventHook() {
  return FormPreprocessEvent::getHook();
}