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

Breadcrumb

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

function RevisionLinkDelete::getDefaultLabel

Overrides RevisionLink::getDefaultLabel

File

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

Class

RevisionLinkDelete
Field handler to present link to delete a node revision.

Namespace

Drupal\node\Plugin\views\field

Code

protected function getDefaultLabel() {
    return $this->t('Delete');
}
RSS feed
Powered by Drupal