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