protected function EntityLinkRevisionRevert::getDefaultLabel in Entity API 8
Returns the default label for this link.
Return value
string The default link label.
Overrides EntityLink::getDefaultLabel
File
- src/
Plugin/ views/ field/ EntityLinkRevisionRevert.php, line 35
Class
- EntityLinkRevisionRevert
- Field handler to present a link to revert an entity to a revision.
Namespace
Drupal\entity\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this
->t('revert');
}