protected function RevisionLink::getDefaultLabel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Plugin/views/field/RevisionLink.php \Drupal\node\Plugin\views\field\RevisionLink::getDefaultLabel()
Returns the default label for this link.
Return value
string 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 52 - Contains \Drupal\node\Plugin\views\field\RevisionLink.
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');
}