You are here

public function ViewUI::hasLinkTemplate in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::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.

Overrides EntityInterface::hasLinkTemplate

File

core/modules/views_ui/src/ViewUI.php, line 1161

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function hasLinkTemplate($key) {
  return $this->storage
    ->hasLinkTemplate($key);
}