function RevisionLinkRevert::getDefaultLabel
Overrides RevisionLink::getDefaultLabel
File
-
core/
modules/ node/ src/ Plugin/ views/ field/ RevisionLinkRevert.php, line 29
Class
- RevisionLinkRevert
- Field handler to present a link to revert a node to a revision.
Namespace
Drupal\node\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this->t('Revert');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.