You are here

protected function EntityLinkEdit::getEntityLinkTemplate in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/EntityLinkEdit.php \Drupal\views\Plugin\views\field\EntityLinkEdit::getEntityLinkTemplate()
  2. 9 core/modules/views/src/Plugin/views/field/EntityLinkEdit.php \Drupal\views\Plugin\views\field\EntityLinkEdit::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/EntityLinkEdit.php, line 19

Class

EntityLinkEdit
Field handler to present a link to edit an entity.

Namespace

Drupal\views\Plugin\views\field

Code

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