function LinkApprove::getDefaultLabel
Returns the default label for this link.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup 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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.