You are here

public static function ViewFieldPreprocessEvent::getHook in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/preprocess_event_dispatcher/src/Event/ViewFieldPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\ViewFieldPreprocessEvent::getHook()

Get the hook name.

Return value

string Hook name.

Overrides PreprocessEventInterface::getHook

1 call to ViewFieldPreprocessEvent::getHook()
ViewFieldPreprocessEventFactory::getEventHook in modules/preprocess_event_dispatcher/src/Factory/ViewFieldPreprocessEventFactory.php
Get the Event hook name.

File

modules/preprocess_event_dispatcher/src/Event/ViewFieldPreprocessEvent.php, line 13

Class

ViewFieldPreprocessEvent
Class ViewFieldPreprocessEvent.

Namespace

Drupal\preprocess_event_dispatcher\Event

Code

public static function getHook() : string {
  return 'views_view_field';
}