You are here

public function PersistedQueryPluginInterface::setWeight in GraphQL 8.4

Sets the weight for this plugin instance.

Parameters

int $weight: The weight.

1 method overrides PersistedQueryPluginInterface::setWeight()
PersistedQueryPluginBase::setWeight in src/PersistedQuery/PersistedQueryPluginBase.php
Sets the weight for this plugin instance.

File

src/Plugin/PersistedQueryPluginInterface.php, line 58

Class

PersistedQueryPluginInterface
Defines plugins that represent persisted GraphQL queries.

Namespace

Drupal\graphql\Plugin

Code

public function setWeight($weight);