You are here

protected function LinkReply::getDefaultLabel in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/src/Plugin/views/field/LinkReply.php \Drupal\comment\Plugin\views\field\LinkReply::getDefaultLabel()
  2. 9 core/modules/comment/src/Plugin/views/field/LinkReply.php \Drupal\comment\Plugin\views\field\LinkReply::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/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');
}