You are here

public function RelayMutationPayloadInterface::setClientMutationId in Open Social 10.3.x

Same name and namespace in other branches
  1. 10.0.x modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface::setClientMutationId()
  2. 10.1.x modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface::setClientMutationId()
  3. 10.2.x modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface::setClientMutationId()

Set the client mutation identifier.

Parameters

string|null $client_mutation_id: The unique identifier for the mutation.

Return value

$this The modified payload.

See also

\Drupal\social_graphql\Wrappers\RelayMutationInputInterface::getClientMutationId()

File

modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php, line 23

Class

RelayMutationPayloadInterface
Response interface used for GraphQL responses.

Namespace

Drupal\social_graphql\GraphQL\Payload

Code

public function setClientMutationId(?string $client_mutation_id) : self;