/** * {@inheritdoc} */ protected function getVariantPlugin() { $variant_plugin = parent::getVariantPlugin(); // Before showing the add form, we need to set the Panels storage // information so that it knows to give the user the IPE as an option. $this->setPanelsStorage($variant_plugin); return $variant_plugin; }