interface RelayMutationInputInterface in Open Social 10.3.x
Same name and namespace in other branches
- 10.0.x modules/custom/social_graphql/src/Wrappers/RelayMutationInputInterface.php \Drupal\social_graphql\Wrappers\RelayMutationInputInterface
- 10.1.x modules/custom/social_graphql/src/Wrappers/RelayMutationInputInterface.php \Drupal\social_graphql\Wrappers\RelayMutationInputInterface
- 10.2.x modules/custom/social_graphql/src/Wrappers/RelayMutationInputInterface.php \Drupal\social_graphql\Wrappers\RelayMutationInputInterface
Mutation input conforming to the Relay specification.
Hierarchy
- interface \Drupal\social_graphql\Wrappers\InputInterface- interface \Drupal\social_graphql\Wrappers\RelayMutationInputInterface
 
Expanded class hierarchy of RelayMutationInputInterface
All classes that implement RelayMutationInputInterface
File
- modules/custom/ social_graphql/ src/ Wrappers/ RelayMutationInputInterface.php, line 10 
Namespace
Drupal\social_graphql\WrappersView source
interface RelayMutationInputInterface extends InputInterface {
  /**
   * Get the identifier for this mutation provided by the client.
   *
   * When provided, should be included in the payload for the mutation. This
   * allows a client to match up mutations with responses (for example in case
   * of optimistic updates) regardless of transport method.
   *
   * Mutation DataProducers can use this to ensure mutations are idempotent by
   * caching the result of a mutation and returning the same response if a
   * clientMutationId is repeated. This makes it possible for clients to safely
   * retry operations such as sending messages.
   *
   * @return string
   *   The unique mutation identifier.
   */
  public function getClientMutationId() : ?string;
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| InputInterface:: | public | function | Get the violations on this input. | |
| InputInterface:: | public | function | Whether this input has any violations. | |
| InputInterface:: | public | function | Set the values for this input. | |
| InputInterface:: | public | function | Validates the input. | |
| RelayMutationInputInterface:: | public | function | Get the identifier for this mutation provided by the client. | 
