You are here

public function PluginSelectorBase::resetSelectedPlugin in Plugin 8.2

Resets the selected plugin.

This resets any default or explicitly set selected plugin.

Return value

$this

Overrides PluginSelectorInterface::resetSelectedPlugin

1 call to PluginSelectorBase::resetSelectedPlugin()
AdvancedPluginSelectorBase::validateSelectorForm in src/Plugin/Plugin/PluginSelector/AdvancedPluginSelectorBase.php
Validates the selector form.

File

src/Plugin/Plugin/PluginSelector/PluginSelectorBase.php, line 250

Class

PluginSelectorBase
Provides a base plugin selector.

Namespace

Drupal\plugin\Plugin\Plugin\PluginSelector

Code

public function resetSelectedPlugin() {
  $this->selectedPlugin = NULL;
  return $this;
}