You are here

final class ImagePreprocessEvent in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/preprocess_event_dispatcher/src/Event/ImagePreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\ImagePreprocessEvent

Class ImagePreprocessEvent.

Hierarchy

Expanded class hierarchy of ImagePreprocessEvent

3 files declare their use of ImagePreprocessEvent
ImagePreprocessEventFactory.php in modules/preprocess_event_dispatcher/src/Factory/ImagePreprocessEventFactory.php
OtherEventTest.php in modules/preprocess_event_dispatcher/tests/src/Unit/OtherEventTest.php
OtherEventVariablesTest.php in modules/preprocess_event_dispatcher/tests/src/Unit/OtherEventVariablesTest.php

File

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

Namespace

Drupal\preprocess_event_dispatcher\Event
View source
final class ImagePreprocessEvent extends AbstractPreprocessEvent {

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

}

Members

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