function 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.