40 \
Magento\Framework\Escaper $escaper,
43 $this->_escaper = $escaper;
45 parent::__construct($context);
56 return nl2br($this->filter->truncate($origDetail, [
'length' => 50]));
67 return nl2br($this->filter->truncate($this->_escaper->escapeHtml($origDetail), [
'length' => 50]));
78 return $this->scopeConfig->isSetFlag(
79 self::XML_REVIEW_GUETS_ALLOW,
80 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE
getDetailHtml($origDetail)
const STATUS_NOT_APPROVED
__construct(\Magento\Framework\App\Helper\Context $context, \Magento\Framework\Escaper $escaper, \Magento\Framework\Filter\FilterManager $filter)
const XML_REVIEW_GUETS_ALLOW
getReviewStatusesOptionArray()