original_string: protected function getResultErrorExists(array $data)
      {
          $vars = array('@url' => $this->url->get('wishlist'));
  
          return array(
              'redirect' => '',
              'severity' => 'warning',
              'wishlist_id' => $data['wishlist_id'],
              'message' => $this->translation->text('Product already in your <a href="@url">wishlist</a>', $vars)
          );
      }
code: protected function getResultErrorExists(array $data)
      {
          $vars = array('@url' => $this->url->get('wishlist'));
  
          return array(
              'redirect' => '',
              'severity' => 'warning',
              'wishlist_id' => $data['wishlist_id'],
              'message' => $this->translation->text('Product already in your <a href="@url">wishlist</a>', $vars)
          );
      }
code_tokens: protected function getResultErrorExists ( array $ data ) { $ vars = array ( '@url' => $ this -> url -> get ( 'wishlist' ) ) ; return array ( 'redirect' => '' , 'severity' => 'warning' , 'wishlist_id' => $ data [ 'wishlist_id' ] , 'message' => $ this -> translation -> text ( 'Product already in your <a href="@url">wishlist</a>' , $ vars ) ) ; }
docstring: Returns an array of resulting data when a product already exists in the wishlist
  @param array $data
  @return array
docstring_tokens: Returns an array of resulting data when a product already exists in the wishlist