public function EntityBuildDefaultsAlterEvent::getViewMode in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityBuildDefaultsAlterEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityBuildDefaultsAlterEvent::getViewMode()
Get the view mode.
Return value
string The view mode.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityBuildDefaultsAlterEvent.php, line 66
Class
- EntityBuildDefaultsAlterEvent
- Class EntityBuildDefaultsAlterEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function getViewMode() : string {
return $this->viewMode;
}