8.2.x EntityTypeInterface.php public EntityTypeInterface::getLinkTemplate($key)
8.0.x EntityTypeInterface.php public EntityTypeInterface::getLinkTemplate($key)
8.1.x EntityTypeInterface.php public EntityTypeInterface::getLinkTemplate($key)
8.3.x EntityTypeInterface.php public EntityTypeInterface::getLinkTemplate($key)

Gets the link template for a given key.

Parameters

string $key: The link type.

Return value

string|bool The path for this link, or FALSE if it doesn't exist.

1 method overrides EntityTypeInterface::getLinkTemplate()
EntityType::getLinkTemplate in core/lib/Drupal/Core/Entity/EntityType.php
Gets the link template for a given key.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 439

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getLinkTemplate($key);