You are here

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

Get the hook name.

Return value

string Hook name.

Overrides PreprocessEventInterface::getHook

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

File

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

Class

TaxonomyTermPreprocessEvent
Class TaxonomyTermPreprocessEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess

Code

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