You are here

protected function EntityLinkDelete::getDefaultLabel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/field/EntityLinkDelete.php \Drupal\views\Plugin\views\field\EntityLinkDelete::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/EntityLinkDelete.php, line 39
Contains \Drupal\views\Plugin\views\field\EntityLinkDelete.

Class

EntityLinkDelete
Field handler to present a link to delete an entity.

Namespace

Drupal\views\Plugin\views\field

Code

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