function EntityLink::getEntityLinkTemplate
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/field/EntityLink.php \Drupal\views\Plugin\views\field\EntityLink::getEntityLinkTemplate()
- 10 core/modules/views/src/Plugin/views/field/EntityLink.php \Drupal\views\Plugin\views\field\EntityLink::getEntityLinkTemplate()
- 11.x core/modules/views/src/Plugin/views/field/EntityLink.php \Drupal\views\Plugin\views\field\EntityLink::getEntityLinkTemplate()
Returns the entity link template name identifying the link route.
@returns string The link template name.
1 call to EntityLink::getEntityLinkTemplate()
- EntityLink::getUrlInfo in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLink.php - Returns the URI elements of the link.
3 methods override EntityLink::getEntityLinkTemplate()
- EntityLinkDelete::getEntityLinkTemplate in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLinkDelete.php - Returns the entity link template name identifying the link route.
- EntityLinkEdit::getEntityLinkTemplate in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLinkEdit.php - Returns the entity link template name identifying the link route.
- TranslationLink::getEntityLinkTemplate in core/
modules/ content_translation/ src/ Plugin/ views/ field/ TranslationLink.php - Returns the entity link template name identifying the link route.
File
-
core/
modules/ views/ src/ Plugin/ views/ field/ EntityLink.php, line 52
Class
- EntityLink
- Field handler to present a link to an entity.
Namespace
Drupal\views\Plugin\views\fieldCode
protected function getEntityLinkTemplate() {
return 'canonical';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.