protected function LinkApprove::getDefaultLabel in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/Plugin/views/field/LinkApprove.php \Drupal\comment\Plugin\views\field\LinkApprove::getDefaultLabel()
- 9 core/modules/comment/src/Plugin/views/field/LinkApprove.php \Drupal\comment\Plugin\views\field\LinkApprove::getDefaultLabel()
Returns the default label for this link.
Return value
string The default link label.
Overrides LinkBase::getDefaultLabel
File
- core/
modules/ comment/ src/ Plugin/ views/ field/ LinkApprove.php, line 36
Class
- LinkApprove
- Provides a comment approve link.
Namespace
Drupal\comment\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this
->t('Approve');
}