You are here

protected function FileLinkReplace::getDefaultLabel in File Replace (D8) 8

Returns the default label for this link.

Return value

string The default link label.

Overrides EntityLink::getDefaultLabel

File

src/Plugin/views/field/FileLinkReplace.php, line 35

Class

FileLinkReplace
Field handler to present a link to replace a file.

Namespace

Drupal\file_replace\Plugin\views\field

Code

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