You are here

public static function QueryMapInterface::exists in GraphQL 8.3

Checks if the query map with version ID exists.

Parameters

int $version: The GraphQL query map version ID.

Return value

bool TRUE if a query map with the given ID exists, FALSE otherwise.

1 method overrides QueryMapInterface::exists()
QueryMap::exists in src/Entity/QueryMap.php
Checks if the query map with version ID exists.

File

src/Entity/QueryMapInterface.php, line 31

Class

QueryMapInterface
Provides an interface defining a GraphQLQueryMap entity.

Namespace

Drupal\graphql\Entity

Code

public static function exists($version);