You are here

interface PreprocessEventInterface in Hook Event Dispatcher 3.x

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

Interface PreprocessEventInterface.

Hierarchy

Expanded class hierarchy of PreprocessEventInterface

All classes that implement PreprocessEventInterface

File

modules/preprocess_event_dispatcher/src/Event/PreprocessEventInterface.php, line 10

Namespace

Drupal\preprocess_event_dispatcher\Event
View source
interface PreprocessEventInterface {
  public const DISPATCH_NAME_PREFIX = 'preprocess_';

  /**
   * Get the hook name.
   *
   * @return string
   *   Hook name.
   */
  public static function getHook() : string;

  /**
   * Get the Event name.
   *
   * @return string
   *   Event name.
   */
  public static function name() : string;

  /**
   * Get the variables.
   *
   * @return \Drupal\preprocess_event_dispatcher\Variables\AbstractEventVariables
   *   Variables.
   */
  public function getVariables() : AbstractEventVariables;

}

Members

Namesort descending Modifiers Type Description Overrides
PreprocessEventInterface::DISPATCH_NAME_PREFIX public constant
PreprocessEventInterface::getHook public static function Get the hook name. 18
PreprocessEventInterface::getVariables public function Get the variables. 2
PreprocessEventInterface::name public static function Get the Event name. 2