public function ServerInterface::addPersistedQueryInstance in GraphQL 8.4
Adds a Persisted Query plugin instance to the persisted queries set.
Parameters
\Drupal\graphql\Plugin\PersistedQueryPluginInterface $queryPlugin:
1 method overrides ServerInterface::addPersistedQueryInstance()
- Server::addPersistedQueryInstance in src/
Entity/ Server.php - Adds a Persisted Query plugin instance to the persisted queries set.
File
- src/
Entity/ ServerInterface.php, line 45
Class
- ServerInterface
- Defines a GraphQL server that has configuration and executes queries.
Namespace
Drupal\graphql\EntityCode
public function addPersistedQueryInstance(PersistedQueryPluginInterface $queryPlugin);