/** * {@inheritdoc} */ public function getAddToWishlistParams($product) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getAddToWishlistParams'); if (!$pluginInfo) { return parent::getAddToWishlistParams($product); } else { return $this->___callPlugins('getAddToWishlistParams', func_get_args(), $pluginInfo); } }