You are here

public function EntityCrudOutputWrapper::getViolations in GraphQL 8.3

Returns the constraint violations.

Return value

\Symfony\Component\Validator\ConstraintViolationListInterface|null The constraint validations or NULL if validation passed.

File

modules/graphql_core/src/GraphQL/EntityCrudOutputWrapper.php, line 68

Class

EntityCrudOutputWrapper

Namespace

Drupal\graphql_core\GraphQL

Code

public function getViolations() {
  return $this->violations;
}