Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityInterface.php

function 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.

2 methods override EntityInterface::hasLinkTemplate()
EntityBase::hasLinkTemplate in core/lib/Drupal/Core/Entity/EntityBase.php
Indicates if a link template exists for a given key.
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 167

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function hasLinkTemplate($key);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal