You are here

public function FieldWidgetThirdPartySettingsFormEvent::getPlugin 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::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;
}