public function InputInterface::getViolations in Open Social 10.0.x
Same name and namespace in other branches
- 10.3.x modules/custom/social_graphql/src/Wrappers/InputInterface.php \Drupal\social_graphql\Wrappers\InputInterface::getViolations()
- 10.1.x modules/custom/social_graphql/src/Wrappers/InputInterface.php \Drupal\social_graphql\Wrappers\InputInterface::getViolations()
- 10.2.x modules/custom/social_graphql/src/Wrappers/InputInterface.php \Drupal\social_graphql\Wrappers\InputInterface::getViolations()
Get the violations on this input.
Return value
\Drupal\social_graphql\GraphQL\ViolationInterface[] An array of violations that were detected during validation or an empty array if there are no violations.
File
- modules/
custom/ social_graphql/ src/ Wrappers/ InputInterface.php, line 45
Class
- InputInterface
- Provides an interface for input types.
Namespace
Drupal\social_graphql\WrappersCode
public function getViolations() : array;