You are here

public function FieldFormatterThirdPartySettingsFormEvent::getPlugin in Hook Event Dispatcher 3.x

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

Get the instantiated field formatter plugin.

Return value

\Drupal\Core\Field\FormatterInterface A field formatter plugin.

File

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

Class

FieldFormatterThirdPartySettingsFormEvent
Class FieldFormatterThirdPartySettingsFormEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

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