/** * {@inheritdoc} */ public function getCurrentCategory() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getCurrentCategory'); if (!$pluginInfo) { return parent::getCurrentCategory(); } else { return $this->___callPlugins('getCurrentCategory', func_get_args(), $pluginInfo); } }
/** * Enter description here... * * @return Category */ public function getCurrentCategory() { return $this->_catalogLayer->getCurrentCategory(); }