You are here

final class ParagraphPreprocessEvent in Hook Event Dispatcher 8

Class ParagraphPreprocessEvent.

Hierarchy

Expanded class hierarchy of ParagraphPreprocessEvent

3 files declare their use of ParagraphPreprocessEvent
EntityEventTest.php in tests/src/Unit/Preprocess/EntityEventTest.php
EntityEventVariablesTest.php in tests/src/Unit/Preprocess/EntityEventVariablesTest.php
ParagraphPreprocessEventFactory.php in src/Event/Preprocess/Factory/ParagraphPreprocessEventFactory.php

File

src/Event/Preprocess/ParagraphPreprocessEvent.php, line 8

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess
View source
final class ParagraphPreprocessEvent extends AbstractPreprocessEntityEvent {

  /**
   * {@inheritdoc}
   */
  public static function getHook() {
    return 'paragraph';
  }

}

Members

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