You are here

public function FieldWidgetThirdPartySettingsFormEvent::getFormMode in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/field_event_dispatcher/src/Event/Field/FieldWidgetThirdPartySettingsFormEvent.php \Drupal\field_event_dispatcher\Event\Field\FieldWidgetThirdPartySettingsFormEvent::getFormMode()

Get the entity form mode.

Return value

string The form mode.

File

modules/field_event_dispatcher/src/Event/Field/FieldWidgetThirdPartySettingsFormEvent.php, line 73

Class

FieldWidgetThirdPartySettingsFormEvent
Class FieldWidgetThirdPartySettingsFormEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

public function getFormMode() : string {
  return $this->formMode;
}