You are here

public function EntityBuildDefaultsAlterEvent::getViewMode in Hook Event Dispatcher 8

Get the view mode.

Return value

string The view mode.

File

src/Event/Entity/EntityBuildDefaultsAlterEvent.php, line 66

Class

EntityBuildDefaultsAlterEvent
Class EntityBuildDefaultsAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

public function getViewMode() {
  return $this->viewMode;
}