Entity::linkTemplates

protected Entity::linkTemplates()

Gets an array link templates.

Return value

array An array of link templates containing paths.

File

core/lib/Drupal/Core/Entity/Entity.php, line 251

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

protected function linkTemplates() {
  return $this->getEntityType()->getLinkTemplates();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.