You are here

PreprocessEventInterface.php in Hook Event Dispatcher 8

File

src/Event/Preprocess/PreprocessEventInterface.php
View source
<?php

namespace Drupal\hook_event_dispatcher\Event\Preprocess;


/**
 * Interface PreprocessEventInterface.
 */
interface PreprocessEventInterface {
  const DISPATCH_NAME_PREFIX = 'preprocess_';

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

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

  /**
   * Get the variables.
   *
   * @return \Drupal\hook_event_dispatcher\Event\Preprocess\Variables\AbstractEventVariables
   *   Variables.
   */
  public function getVariables();

}

Interfaces

Namesort descending Description
PreprocessEventInterface Interface PreprocessEventInterface.