You are here

public function FieldWidgetThirdPartySettingsFormEvent::getPlugin in Hook Event Dispatcher 8.2

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

Get the instantiated field widget plugin.

Return value

\Drupal\Core\Field\WidgetInterface A field widget plugin.

File

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

Class

FieldWidgetThirdPartySettingsFormEvent
Class FieldWidgetThirdPartySettingsFormEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

public function getPlugin() : WidgetInterface {
  return $this->plugin;
}