function LinkReply::getDefaultLabel

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

Overrides LinkBase::getDefaultLabel

File

core/modules/comment/src/Plugin/views/field/LinkReply.php, line 35

Class

LinkReply
Field handler to present a link to reply to a comment.

Namespace

Drupal\comment\Plugin\views\field

Code

protected function getDefaultLabel() {
    return $this->t('Reply');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.