Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BaseConstraint.php

10 calls to BaseConstraint::addErrors()

Constraint::checkArray in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php
Validates an array
Constraint::checkEnum in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php
Checks a enum element
Constraint::checkFormat in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php
Checks format of an element
Constraint::checkNumber in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php
Checks a number element
Constraint::checkObject in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php
Validates an object
Constraint::checkString in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php
Checks a string element
Constraint::checkType in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php
Validates the type of a property
Constraint::checkUndefined in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php
Checks a undefined element
UndefinedConstraint::validateOfProperties in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php
Validate allOf, anyOf, and oneOf properties
Validator::validate in vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php
Validates the given data against the schema and returns an object containing the results Both the php object and the schema are supposed to be a result of a json_decode call. The validation works as defined by the schema proposal in…

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal