function RevisionLink::getDefaultLabel
Same name in other branches
- 9 core/modules/node/src/Plugin/views/field/RevisionLink.php \Drupal\node\Plugin\views\field\RevisionLink::getDefaultLabel()
- 8.9.x core/modules/node/src/Plugin/views/field/RevisionLink.php \Drupal\node\Plugin\views\field\RevisionLink::getDefaultLabel()
- 10 core/modules/node/src/Plugin/views/field/RevisionLink.php \Drupal\node\Plugin\views\field\RevisionLink::getDefaultLabel()
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.