protected function EntityBase::linkTemplates in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::linkTemplates()
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::linkTemplates()
Gets an array link templates.
Return value
array An array of link templates containing paths.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 233
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
protected function linkTemplates() {
return $this
->getEntityType()
->getLinkTemplates();
}