You are here

public function EntityInterface::hasLinkTemplate in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::hasLinkTemplate()
  2. 9 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.

1 method overrides EntityInterface::hasLinkTemplate()
ViewUI::hasLinkTemplate in core/modules/views_ui/src/ViewUI.php
Indicates if a link template exists for a given key.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 165

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function hasLinkTemplate($key);