PreprocessEntityEventInterface.php in Hook Event Dispatcher 8
File
src/Event/Preprocess/PreprocessEntityEventInterface.phpView source
<?php
namespace Drupal\hook_event_dispatcher\Event\Preprocess;
/**
* 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($bundle = '', $viewMode = '');
/**
* Get the Entity variables.
*
* @return \Drupal\hook_event_dispatcher\Event\Preprocess\Variables\AbstractEntityEventVariables
* Entity variables.
*/
public function getVariables();
}
Interfaces
Name | Description |
---|---|
PreprocessEntityEventInterface | Interface PreprocessEntityEventInterface. |