protected function EntityLinkEdit::renderLink in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/field/EntityLinkEdit.php \Drupal\views\Plugin\views\field\EntityLinkEdit::renderLink()
 
Prepares the link to view a entity.
Parameters
\Drupal\views\ResultRow $row: A view result row.
Return value
string Returns a string for the link text.
Overrides LinkBase::renderLink
File
- core/
modules/ views/ src/ Plugin/ views/ field/ EntityLinkEdit.php, line 31  - Contains \Drupal\views\Plugin\views\field\EntityLinkEdit.
 
Class
- EntityLinkEdit
 - Field handler to present a link to edit an entity.
 
Namespace
Drupal\views\Plugin\views\fieldCode
protected function renderLink(ResultRow $row) {
  $this->options['alter']['query'] = $this
    ->getDestinationArray();
  return parent::renderLink($row);
}