You are here

public function PayloadInterface::getViolations in Open Social 10.0.x

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

Gets the violations.

Return value

\Drupal\social_graphql\GraphQL\ViolationInterface[] The Violations.

File

modules/custom/social_graphql/src/GraphQL/Payload/PayloadInterface.php, line 42

Class

PayloadInterface
Response interface used for GraphQL responses.

Namespace

Drupal\social_graphql\GraphQL\Payload

Code

public function getViolations() : array;