public function EntityViewEvent::getViewMode in Hook Event Dispatcher 8
Get the view mode.
Return value
string The view mode.
File
- src/
Event/ Entity/ EntityViewEvent.php, line 94
Class
- EntityViewEvent
- Class EntityViewEvent.
Namespace
Drupal\hook_event_dispatcher\Event\EntityCode
public function getViewMode() {
return $this->viewMode;
}