public static function PreprocessEntityEventInterface::name in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/src/Event/PreprocessEntityEventInterface.php \Drupal\preprocess_event_dispatcher\Event\PreprocessEntityEventInterface::name()
Get the event name, with optional bundle and view mode.
Parameters
string $bundle: Optional bundle.
string $viewMode: Optional view mode.
Return value
string Event name.
Overrides PreprocessEventInterface::name
File
- modules/
preprocess_event_dispatcher/ src/ Event/ PreprocessEntityEventInterface.php, line 23
Class
- PreprocessEntityEventInterface
- Interface PreprocessEntityEventInterface.
Namespace
Drupal\preprocess_event_dispatcher\EventCode
public static function name(string $bundle = '', string $viewMode = '') : string;