function EntityInterface::hasLinkTemplate
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::hasLinkTemplate()
- 10 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::hasLinkTemplate()
- 8.9.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::hasLinkTemplate()
Indicates if a link template exists for a given key.
Parameters
string $key: The link type.
Return value
bool TRUE if the link template exists, FALSE otherwise.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityInterface.php, line 165
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public function hasLinkTemplate($key);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.