52 parent::__construct();
54 $this->catalogData = $catalogData;
55 $this->scopeConfig = $scopeConfig;
66 return $this->scopeConfig->getValue(
67 'catalog/seo/category_url_suffix',
68 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE
79 return $this->scopeConfig->isSetFlag(
80 'catalog/seo/product_use_categories',
81 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE
92 return $this->catalogData->getProduct() !==
null 93 ? $this->catalogData->getProduct()->getName()
107 'categoryUrlSuffix' => $this->escaper->escapeHtml($this->getCategoryUrlSuffix()),
isCategoryUsedInProductUrl()
__construct(Data $catalogData, ScopeConfigInterface $scopeConfig, Json $json=null, Escaper $escaper=null)
getJsonConfigurationHtmlEscaped()