function EntityLinkDelete::renderLink
Same name in other branches
- 9 core/modules/views/src/Plugin/views/field/EntityLinkDelete.php \Drupal\views\Plugin\views\field\EntityLinkDelete::renderLink()
- 8.9.x core/modules/views/src/Plugin/views/field/EntityLinkDelete.php \Drupal\views\Plugin\views\field\EntityLinkDelete::renderLink()
- 11.x core/modules/views/src/Plugin/views/field/EntityLinkDelete.php \Drupal\views\Plugin\views\field\EntityLinkDelete::renderLink()
Overrides EntityLink::renderLink
File
-
core/
modules/ views/ src/ Plugin/ views/ field/ EntityLinkDelete.php, line 26
Class
- EntityLinkDelete
- Field handler to present a link to delete an entity.
Namespace
Drupal\views\Plugin\views\fieldCode
protected function renderLink(ResultRow $row) {
$this->options['alter']['query'] = $this->getDestinationArray();
return parent::renderLink($row);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.