function LinkReply::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/LinkReply.php, line 38

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.