function LinkApprove::getDefaultLabel

Same name in other branches
  1. 9 core/modules/comment/src/Plugin/views/field/LinkApprove.php \Drupal\comment\Plugin\views\field\LinkApprove::getDefaultLabel()
  2. 8.9.x core/modules/comment/src/Plugin/views/field/LinkApprove.php \Drupal\comment\Plugin\views\field\LinkApprove::getDefaultLabel()
  3. 11.x core/modules/comment/src/Plugin/views/field/LinkApprove.php \Drupal\comment\Plugin\views\field\LinkApprove::getDefaultLabel()

Overrides LinkBase::getDefaultLabel

File

core/modules/comment/src/Plugin/views/field/LinkApprove.php, line 40

Class

LinkApprove
Provides a comment approve link.

Namespace

Drupal\comment\Plugin\views\field

Code

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.