function LinkApprove::renderLink
Same name in other branches
- 9 core/modules/comment/src/Plugin/views/field/LinkApprove.php \Drupal\comment\Plugin\views\field\LinkApprove::renderLink()
- 10 core/modules/comment/src/Plugin/views/field/LinkApprove.php \Drupal\comment\Plugin\views\field\LinkApprove::renderLink()
- 11.x core/modules/comment/src/Plugin/views/field/LinkApprove.php \Drupal\comment\Plugin\views\field\LinkApprove::renderLink()
Overrides LinkBase::renderLink
File
-
core/
modules/ comment/ src/ Plugin/ views/ field/ LinkApprove.php, line 28
Class
- LinkApprove
- Provides a comment approve link.
Namespace
Drupal\comment\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.