/** * Return list of targets allowed for this widget * * @return array */ public static function getAllowedTargets() { $result = parent::getAllowedTargets(); $result[] = 'main'; $result[] = 'category'; return $result; }
/** * Return list of targets allowed for this widget * * @return array */ public static function getAllowedTargets() { $result = parent::getAllowedTargets(); $result[] = self::WIDGET_TARGET_SALE_PRODUCTS; return $result; }