You are here

final class TaxonomyTermPreprocessEvent in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/preprocess_event_dispatcher/src/Event/TaxonomyTermPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\TaxonomyTermPreprocessEvent

Class TaxonomyTermPreprocessEvent.

Hierarchy

Expanded class hierarchy of TaxonomyTermPreprocessEvent

3 files declare their use of TaxonomyTermPreprocessEvent
EntityEventTest.php in modules/preprocess_event_dispatcher/tests/src/Unit/EntityEventTest.php
EntityEventVariablesTest.php in modules/preprocess_event_dispatcher/tests/src/Unit/EntityEventVariablesTest.php
TaxonomyTermPreprocessEventFactory.php in modules/preprocess_event_dispatcher/src/Factory/TaxonomyTermPreprocessEventFactory.php

File

modules/preprocess_event_dispatcher/src/Event/TaxonomyTermPreprocessEvent.php, line 8

Namespace

Drupal\preprocess_event_dispatcher\Event
View source
final class TaxonomyTermPreprocessEvent extends AbstractPreprocessEntityEvent {

  /**
   * {@inheritdoc}
   */
  public static function getHook() : string {
    return 'taxonomy_term';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractPreprocessEntityEvent::name public static function Get the Event name. Overrides AbstractPreprocessEvent::name
AbstractPreprocessEvent::$variables protected property Event variables.
AbstractPreprocessEvent::getVariables public function Get the variables. Overrides PreprocessEventInterface::getVariables
AbstractPreprocessEvent::__construct public function PreprocessEvent constructor.
PreprocessEventInterface::DISPATCH_NAME_PREFIX public constant
TaxonomyTermPreprocessEvent::getHook public static function Get the hook name. Overrides PreprocessEventInterface::getHook