protected function renderLink(ResultRow
$row) { $this->options
['alter'
]['make_link'
] = TRUE;
$this->options
['alter'
]['url'
] =
$this->
getUrlInfo($row);
$text = !
empty($this->options
['text'
]) ?
$this->
sanitizeValue($this->options
['text'
]) :
$this->
getDefaultLabel();
$this->
addLangcode($row);
return $text;
} /**
* Adds language information to the options.
*
* @param \Drupal\views\ResultRow $row
* A view result row.
*/
protected function addLangcode(ResultRow
$row) { $entity =
$this->
getEntity($row);