- Issue created by @bbrala
In the parent issue 📌 Move JSON:API validation to a feature flag or separate module Active we put schema validation for jsonapi behind a feature flag. ComponentValidation does the same. We should investigate if this leads to performance issues the same as with jsonapi.
Drupal\Core\Theme\Component\ComponentValidator
That kinda does the same.
/**
* Sets the validator service if available.
*/
public function setValidator(?Validator $validator = NULL): void {
if ($validator) {
$this->validator = $validator;
return;
}
if (class_exists(Validator::class)) {
$this->validator = new Validator();
}
}
Active
11.0 🔥
theme system