You are here

protected function RevisionLinkRevert::getDefaultLabel in Support Ticketing System 8

Returns the default label for this link.

Return value

string The default link label.

Overrides RevisionLink::getDefaultLabel

File

modules/support_ticket/src/Plugin/views/field/RevisionLinkRevert.php, line 34
Contains \Drupal\support_ticket\Plugin\views\field\RevisionLinkRevert.

Class

RevisionLinkRevert
Field handler to present a link to revert a support ticket to a revision.

Namespace

Drupal\support_ticket\Plugin\views\field

Code

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