You are here

protected function EntityLinkEdit::getDefaultLabel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 39
Contains \Drupal\views\Plugin\views\field\EntityLinkEdit.

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