function RevisionLinkDelete::getDefaultLabel

Same name in other branches
  1. 8.9.x core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php \Drupal\node\Plugin\views\field\RevisionLinkDelete::getDefaultLabel()
  2. 10 core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php \Drupal\node\Plugin\views\field\RevisionLinkDelete::getDefaultLabel()
  3. 11.x core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php \Drupal\node\Plugin\views\field\RevisionLinkDelete::getDefaultLabel()

Overrides RevisionLink::getDefaultLabel

File

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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.