You are here

public function ResolveDefaultPlugin::getDefaultPluginInstance in Plugin 8.2

Gets the default plugin instance.

Return value

\Drupal\Component\Plugin\PluginInspectionInterface|null The default plugin instance or NULL if there is no default instance.

File

src/Event/ResolveDefaultPlugin.php, line 56

Class

ResolveDefaultPlugin
Provides an event that is dispatched when the a default plugin instance is resolved.

Namespace

Drupal\plugin\Event

Code

public function getDefaultPluginInstance() {
  return $this->defaultPluginInstance;
}