You are here

interface RelayMutationPayloadInterface in Open Social 10.0.x

Same name and namespace in other branches
  1. 10.3.x modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface
  2. 10.1.x modules/custom/social_graphql/src/GraphQL/Payload/RelayMutationPayloadInterface.php \Drupal\social_graphql\GraphQL\Payload\RelayMutationPayloadInterface
  3. 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

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\Payload
View 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

Namesort descending Modifiers Type Description Overrides
PayloadInterface::addViolation public function Adds the violation.
PayloadInterface::addViolations public function Adds multiple violations.
PayloadInterface::getViolations public function Gets the violations.
RelayMutationPayloadInterface::getClientMutationId public function Get the client mutation identifier.
RelayMutationPayloadInterface::setClientMutationId public function Set the client mutation identifier.