You are here

protected function EntityLinkEdit::getDefaultLabel in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/field/EntityLinkEdit.php \Drupal\views\Plugin\views\field\EntityLinkEdit::getDefaultLabel()

Returns the default label for this link.

Return value

string The default link label.

Overrides EntityLink::getDefaultLabel

File

core/modules/views/src/Plugin/views/field/EntityLinkEdit.php, line 34

Class

EntityLinkEdit
Field handler to present a link to edit an entity.

Namespace

Drupal\views\Plugin\views\field

Code

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