function RevisionLink::getDefaultLabel
Returns the default label for this link.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The default link label.
Overrides LinkBase::getDefaultLabel
2 methods override RevisionLink::getDefaultLabel()
- RevisionLinkDelete::getDefaultLabel in core/modules/ node/ src/ Plugin/ views/ field/ RevisionLinkDelete.php 
- Returns the default label for this link.
- RevisionLinkRevert::getDefaultLabel in core/modules/ node/ src/ Plugin/ views/ field/ RevisionLinkRevert.php 
- Returns the default label for this link.
File
- 
              core/modules/ node/ src/ Plugin/ views/ field/ RevisionLink.php, line 53 
Class
- RevisionLink
- Field handler to present a link to a node revision.
Namespace
Drupal\node\Plugin\views\fieldCode
protected function getDefaultLabel() {
  return $this->t('View');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
