public function UnsavedIndexConfiguration::hasLinkTemplate in Search API 8
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
- src/
UnsavedIndexConfiguration.php, line 838
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function hasLinkTemplate($key) {
return $this->entity
->hasLinkTemplate($key);
}