/** * {@inheritdoc} */ public function setPlugin(PluginInspectionInterface $plugin) { $this->plugin = $plugin; $this->entity = $this->menuStorage->load($this->plugin->getDerivativeId()); }