You are here

public function ResponseInterface::getViolations in GraphQL 8.4

Gets the violations.

Return value

array Violations.

1 method overrides ResponseInterface::getViolations()
Response::getViolations in src/GraphQL/Response/Response.php
Gets the violations.

File

src/GraphQL/Response/ResponseInterface.php, line 38

Class

ResponseInterface
Response interface used for GraphQL responses.

Namespace

Drupal\graphql\GraphQL\Response

Code

public function getViolations() : array;