You are here

interface PreprocessEventInterface in Hook Event Dispatcher 8

Interface PreprocessEventInterface.

Hierarchy

Expanded class hierarchy of PreprocessEventInterface

All classes that implement PreprocessEventInterface

File

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

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
PreprocessEventInterface::DISPATCH_NAME_PREFIX 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