protected function RevisionLinkDelete::getDefaultLabel in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php \Drupal\node\Plugin\views\field\RevisionLinkDelete::getDefaultLabel()
Returns the default label for this link.
Return value
string The default link label.
Overrides RevisionLink::getDefaultLabel
File
- core/
modules/ node/ src/ Plugin/ views/ field/ RevisionLinkDelete.php, line 29
Class
- RevisionLinkDelete
- Field handler to present link to delete a node revision.
Namespace
Drupal\node\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this
->t('Delete');
}