PreprocessEntityEventInterface.php in Hook Event Dispatcher 3.x
Same filename and directory in other branches
Namespace
Drupal\preprocess_event_dispatcher\EventFile
modules/preprocess_event_dispatcher/src/Event/PreprocessEntityEventInterface.phpView source
<?php
namespace Drupal\preprocess_event_dispatcher\Event;
use Drupal\preprocess_event_dispatcher\Variables\AbstractEventVariables;
/**
* Interface PreprocessEntityEventInterface.
*/
interface PreprocessEntityEventInterface extends PreprocessEventInterface {
/**
* Get the event name, with optional bundle and view mode.
*
* @param string $bundle
* Optional bundle.
* @param string $viewMode
* Optional view mode.
*
* @return string
* Event name.
*/
public static function name(string $bundle = '', string $viewMode = '') : string;
/**
* Get the Entity variables.
*
* @return \Drupal\preprocess_event_dispatcher\Variables\AbstractEntityEventVariables
* Entity variables.
*/
public function getVariables() : AbstractEventVariables;
}
Interfaces
Name | Description |
---|---|
PreprocessEntityEventInterface | Interface PreprocessEntityEventInterface. |