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
Namespace
Drupal\graphql_core\GraphQLCode
public function getViolations() {
return $this->violations;
}