You are here

protected function EntityLinkDelete::getDefaultLabel in Drupal 9

Same name and namespace in other branches
  1. 8 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 34

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