ComponentValidator::$validator
Same name in this branch
- 11.x core/lib/Drupal/Core/Theme/Component/ComponentValidator.php \Drupal\Core\Theme\Component\ComponentValidator::validator
Same name in other branches
- 10 core/modules/sdc/src/Component/ComponentValidator.php \Drupal\sdc\Component\ComponentValidator::validator
- 10 core/lib/Drupal/Core/Theme/Component/ComponentValidator.php \Drupal\Core\Theme\Component\ComponentValidator::validator
The schema validator.
This property will only be set if the validator library is available.
Type: \JsonSchema\Validator|null
File
-
core/
modules/ sdc/ src/ Component/ ComponentValidator.php, line 25
Class
- ComponentValidator
- Validates a component based on its definition and the component schema.
Namespace
Drupal\sdc\ComponentCode
protected ?Validator $validator = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.