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