EntityTypeInterface::getLinkTemplate

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.

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);
doc_Drupal
2016-10-29 09:08:23
Comments
Leave a Comment

Please login to continue.