public function PluginSelectorBase::getSelectedPlugin in Plugin 8.2
Gets the selected plugin.
Return value
\Drupal\Component\Plugin\PluginInspectionInterface
Overrides PluginSelectorInterface::getSelectedPlugin
6 calls to PluginSelectorBase::getSelectedPlugin()
- AdvancedPluginSelectorBase::buildOneAvailablePlugin in src/
Plugin/ Plugin/ PluginSelector/ AdvancedPluginSelectorBase.php - Builds the form elements for one plugin.
- AdvancedPluginSelectorBase::buildPluginForm in src/
Plugin/ Plugin/ PluginSelector/ AdvancedPluginSelectorBase.php - Builds the plugin configuration form elements.
- AdvancedPluginSelectorBase::submitSelectorForm in src/
Plugin/ Plugin/ PluginSelector/ AdvancedPluginSelectorBase.php - Submits the selector form.
- AdvancedPluginSelectorBase::validateSelectorForm in src/
Plugin/ Plugin/ PluginSelector/ AdvancedPluginSelectorBase.php - Validates the selector form.
- Radios::buildSelector in src/
Plugin/ Plugin/ PluginSelector/ Radios.php - Builds the form elements for the actual plugin selector.
File
- src/
Plugin/ Plugin/ PluginSelector/ PluginSelectorBase.php, line 230
Class
- PluginSelectorBase
- Provides a base plugin selector.
Namespace
Drupal\plugin\Plugin\Plugin\PluginSelectorCode
public function getSelectedPlugin() {
return $this->selectedPlugin;
}