You are here

public static function ImagePreprocessEvent::getHook in Hook Event Dispatcher 8

Get the hook name.

Return value

string Hook name.

Overrides PreprocessEventInterface::getHook

1 call to ImagePreprocessEvent::getHook()
ImagePreprocessEventFactory::getEventHook in src/Event/Preprocess/Factory/ImagePreprocessEventFactory.php
Get the Event hook name.

File

src/Event/Preprocess/ImagePreprocessEvent.php, line 13

Class

ImagePreprocessEvent
Class ImagePreprocessEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess

Code

public static function getHook() {
  return 'image';
}