public function AdvancedPluginSelectorBase::setSelectorVisibilityForSingleAvailability in Plugin 8.2
Toggles whether or not to show the selection elements for single plugins.
Parameters
bool $show: TRUE to show selection elements or FALSE to hide them for single plugins.
File
- src/
Plugin/ Plugin/ PluginSelector/ AdvancedPluginSelectorBase.php, line 341
Class
- AdvancedPluginSelectorBase
- Provides a default base for most plugin selectors.
Namespace
Drupal\plugin\Plugin\Plugin\PluginSelectorCode
public function setSelectorVisibilityForSingleAvailability($show) {
$this->configuration['show_selector_for_single_availability'] = $show;
}