original_string: protected function setMetaEntity(array $data)
      {
          if (!empty($data['meta_title'])) {
              $this->setTitle($data['meta_title'], false);
          }
  
          if (!empty($data['meta_description'])) {
              $this->setMeta(array('name' => 'description', 'content' => $data['meta_description']));
          }
  
          $this->setMeta(array('rel' => 'canonical', 'href' => $this->path));
      }
code: protected function setMetaEntity(array $data)
      {
          if (!empty($data['meta_title'])) {
              $this->setTitle($data['meta_title'], false);
          }
  
          if (!empty($data['meta_description'])) {
              $this->setMeta(array('name' => 'description', 'content' => $data['meta_description']));
          }
  
          $this->setMeta(array('rel' => 'canonical', 'href' => $this->path));
      }
code_tokens: protected function setMetaEntity ( array $ data ) { if ( ! empty ( $ data [ 'meta_title' ] ) ) { $ this -> setTitle ( $ data [ 'meta_title' ] , false ) ; } if ( ! empty ( $ data [ 'meta_description' ] ) ) { $ this -> setMeta ( array ( 'name' => 'description' , 'content' => $ data [ 'meta_description' ] ) ) ; } $ this -> setMeta ( array ( 'rel' => 'canonical' , 'href' => $ this -> path ) ) ; }
docstring: Set meta tags on entity page
  @param array $data
docstring_tokens: Set meta tags on entity page