Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RevisionLinkRevert.php

function RevisionLinkRevert::getDefaultLabel

Overrides RevisionLink::getDefaultLabel

File

core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php, line 32

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');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal