protected function RevisionLinkDelete::getDefaultLabel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 34 - Contains \Drupal\node\Plugin\views\field\RevisionLinkDelete.
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');
}