You are here

final class StatusMessagesPreprocessEvent in Hook Event Dispatcher 8

Class StatusMessagesPreprocessEvent.

Hierarchy

Expanded class hierarchy of StatusMessagesPreprocessEvent

3 files declare their use of StatusMessagesPreprocessEvent
OtherEventTest.php in tests/src/Unit/Preprocess/OtherEventTest.php
OtherEventVariablesTest.php in tests/src/Unit/Preprocess/OtherEventVariablesTest.php
StatusMessagesPreprocessEventFactory.php in src/Event/Preprocess/Factory/StatusMessagesPreprocessEventFactory.php

File

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

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess
View source
final class StatusMessagesPreprocessEvent extends AbstractPreprocessEvent {

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

}

Members

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