function EntityLinkDelete::getDefaultLabel

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/field/EntityLinkDelete.php \Drupal\views\Plugin\views\field\EntityLinkDelete::getDefaultLabel()
  2. 8.9.x core/modules/views/src/Plugin/views/field/EntityLinkDelete.php \Drupal\views\Plugin\views\field\EntityLinkDelete::getDefaultLabel()
  3. 10 core/modules/views/src/Plugin/views/field/EntityLinkDelete.php \Drupal\views\Plugin\views\field\EntityLinkDelete::getDefaultLabel()

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.