You are here

protected function EntityLinkDelete::getEntityLinkTemplate 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::getEntityLinkTemplate()

Returns the entity link template name identifying the link route.

@returns string The link template name.

Overrides EntityLink::getEntityLinkTemplate

File

core/modules/views/src/Plugin/views/field/EntityLinkDelete.php, line 19

Class

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

Namespace

Drupal\views\Plugin\views\field

Code

protected function getEntityLinkTemplate() {
  return 'delete-form';
}