You are here

protected function RevisionLinkRevert::getDefaultLabel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php \Drupal\node\Plugin\views\field\RevisionLinkRevert::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/RevisionLinkRevert.php, line 34
Contains \Drupal\node\Plugin\views\field\RevisionLinkRevert.

Class

RevisionLinkRevert
Field handler to present a link to revert a node to a revision.

Namespace

Drupal\node\Plugin\views\field

Code

protected function getDefaultLabel() {
  return $this
    ->t('Revert');
}