interface RelayMutationPayloadInterface in Open Social 10.3.x
Same name and namespace in other branches
- 10.0.x modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface
- 10.1.x modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface
- 10.2.x modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface
Response interface used for GraphQL responses.
Hierarchy
- interface \Drupal\social_graphql\GraphQL\Payload\PayloadInterface
- interface \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface
Expanded class hierarchy of RelayMutationPayloadInterface
All classes that implement RelayMutationPayloadInterface
1 file declares its use of RelayMutationPayloadInterface
- PayloadClientMutationId.php in modules/
custom/ social_graphql/ src/ Plugin/ GraphQL/ DataProducer/ Payload/ PayloadClientMutationId.php
File
- modules/
custom/ social_graphql/ src/ GraphQL/ Payload/ RelayMutationPayloadInterface.php, line 10
Namespace
Drupal\social_graphql\GraphQL\PayloadView source
interface RelayMutationPayloadInterface extends PayloadInterface {
/**
* Set the client mutation identifier.
*
* @param string|null $client_mutation_id
* The unique identifier for the mutation.
*
* @return $this
* The modified payload.
*
* @see \Drupal\social_graphql\Wrappers\RelayMutationInputInterface::getClientMutationId()
*/
public function setClientMutationId(?string $client_mutation_id) : self;
/**
* Get the client mutation identifier.
*
* @see \Drupal\social_graphql\Wrappers\RelayMutationInputInterface::getClientMutationId()
*/
public function getClientMutationId() : ?string;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PayloadInterface:: |
public | function | Adds the violation. | |
PayloadInterface:: |
public | function | Adds multiple violations. | |
PayloadInterface:: |
public | function | Gets the violations. | |
RelayMutationPayloadInterface:: |
public | function | Get the client mutation identifier. | |
RelayMutationPayloadInterface:: |
public | function | Set the client mutation identifier. |