if (!
$request->
getParam('error_handler'
) &&
$this->
get(Shopware_Components_Config::
class)->
get('hrefLangEnabled'
)) { $context =
$this->
get(ContextServiceInterface::
class)->
getShopContext();
$params =
$request->
getParams();
$sCategoryContent =
$view->
getAssign('sCategoryContent'
);
if ($sCategoryContent &&
$request->
getControllerName() === 'listing' &&
isset($sCategoryContent['canonicalParams'
]) && \
is_array($sCategoryContent['canonicalParams'
])) { $params =
$sCategoryContent['canonicalParams'
];
} $view->
assign('sHrefLinks',
$this->
get('shopware_storefront.cached_href_lang_service'
)->
getUrls($params,
$context));
} $view->
assign('SeoDescriptionMaxLength',
(int) $this->
get(Shopware_Components_Config::
class)->
get('metaDescriptionLength'
));
} /**
* Remove html-comments / whitespaces
*
* @return mixed|string
*/
public function onFilterRender(Enlight_Event_EventArgs
$args) {