You are here

protected function PrintLink::getDefaultLabel in Entity Print 8.2

Returns the default label for this link.

Return value

string The default link label.

Overrides LinkBase::getDefaultLabel

File

modules/entity_print_views/src/Plugin/views/field/PrintLink.php, line 98

Class

PrintLink
Field handler to present print links for an entity.

Namespace

Drupal\entity_print_views\Plugin\views\field

Code

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