function PluginFormBase::setPlugin
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/PluginFormBase.php \Drupal\Core\Plugin\PluginFormBase::setPlugin()
- 10 core/lib/Drupal/Core/Plugin/PluginFormBase.php \Drupal\Core\Plugin\PluginFormBase::setPlugin()
- 11.x core/lib/Drupal/Core/Plugin/PluginFormBase.php \Drupal\Core\Plugin\PluginFormBase::setPlugin()
Overrides PluginAwareInterface::setPlugin
1 method overrides PluginFormBase::setPlugin()
- SystemMenuOffCanvasForm::setPlugin in core/
modules/ system/ src/ Form/ SystemMenuOffCanvasForm.php - Sets the plugin for this object.
File
-
core/
lib/ Drupal/ Core/ Plugin/ PluginFormBase.php, line 27
Class
- PluginFormBase
- Provides a base class for plugin forms.
Namespace
Drupal\Core\PluginCode
public function setPlugin(PluginInspectionInterface $plugin) {
$this->plugin = $plugin;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.