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

Breadcrumb

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

function RevisionLink::getDefaultLabel

Overrides LinkBase::getDefaultLabel

2 methods override RevisionLink::getDefaultLabel()
RevisionLinkDelete::getDefaultLabel in core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php
Returns the default label for this link.
RevisionLinkRevert::getDefaultLabel in core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php
Returns the default label for this link.

File

core/modules/node/src/Plugin/views/field/RevisionLink.php, line 53

Class

RevisionLink
Field handler to present a link to a node revision.

Namespace

Drupal\node\Plugin\views\field

Code

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

API Navigation

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