You are here

public function ViewUI::hasLinkTemplate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 1215
Contains \Drupal\views_ui\ViewUI.

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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