You are here

public function FieldPreprocessEventFactory::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/FieldPreprocessEventFactory.php, line 23

Class

FieldPreprocessEventFactory
Class FieldPreprocessEventFactory.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Factory

Code

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