You are here

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

Class

CommentPreprocessEventFactory
Class CommentPreprocessEventFactory.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Factory

Code

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