function SystemMenuOffCanvasForm::setPlugin
Same name in other branches
- 8.9.x core/modules/system/src/Form/SystemMenuOffCanvasForm.php \Drupal\system\Form\SystemMenuOffCanvasForm::setPlugin()
- 10 core/modules/system/src/Form/SystemMenuOffCanvasForm.php \Drupal\system\Form\SystemMenuOffCanvasForm::setPlugin()
- 11.x core/modules/system/src/Form/SystemMenuOffCanvasForm.php \Drupal\system\Form\SystemMenuOffCanvasForm::setPlugin()
Overrides PluginFormBase::setPlugin
File
-
core/
modules/ system/ src/ Form/ SystemMenuOffCanvasForm.php, line 166
Class
- SystemMenuOffCanvasForm
- The setting_tray form handler for the SystemMenuBlock.
Namespace
Drupal\system\FormCode
public function setPlugin(PluginInspectionInterface $plugin) {
$this->plugin = $plugin;
$this->menu = $this->menuStorage
->loadOverrideFree($this->plugin
->getDerivativeId());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.