public function EntityBuildDefaultsAlterEvent::getViewMode in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x 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;
}