59         parent::__construct($context, 
$data);
    61         $this->_entityResource = $entityResource;
    74         if ($this->_href === 
null) {
    75             if (!$this->
getData(
'id_path')) {
    76                 throw new \RuntimeException(
'Parameter id_path is not set.');
    81             $store = $this->hasStoreId() ? $this->_storeManager->getStore($this->getStoreId())
    82                 : $this->_storeManager->getStore();
    91             $rewrite = $this->urlFinder->findOneByData($filterData);
    94                 $href = 
$store->getUrl(
'', [
'_direct' => 
$rewrite->getRequestPath()]);
    96                 if (strpos($href, 
'___store') === 
false) {
    97                     $href .= (strpos($href, 
'?') === 
false ? 
'?' : 
'&') . 
'___store=' . 
$store->getCode();
   100             $this->_href = $href;
   114         $rewriteData = explode(
'/', $idPath);
   116         if (!isset($rewriteData[0]) || !isset($rewriteData[1])) {
   117             throw new \RuntimeException(
'Wrong id_path structure.');
   130         if (!$this->_anchorText) {
   131             if ($this->
getData(
'anchor_text')) {
   132                 $this->_anchorText = $this->
getData(
'anchor_text');
   133             } 
elseif ($this->_entityResource) {
   134                 $idPath = explode(
'/', $this->
_getData(
'id_path'));
   135                 if (isset($idPath[1])) {
   138                         $this->_anchorText = $this->_entityResource->getAttributeRawValue(
   141                             $this->_storeManager->getStore()
   160             return parent::_toHtml();
 
getData($key='', $index=null)
 
elseif(isset( $params[ 'redirect_parent']))