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