ConfigSchemaChecker.php
Same filename in this branch
Same filename in other branches
Namespace
Drupal\Core\Config\TestingFile
-
core/
lib/ Drupal/ Core/ Config/ Testing/ ConfigSchemaChecker.php
View source
<?php
namespace Drupal\Core\Config\Testing;
use Drupal\Core\Config\Development\ConfigSchemaChecker as SchemaChecker;
/**
* Listens to the config save event and validates schema.
*
* If tests have the $strictConfigSchema property set to TRUE this event
* listener will be added to the container and throw exceptions if configuration
* is invalid.
*
* @see \Drupal\KernelTests\KernelTestBase::register()
* @see \Drupal\simpletest\WebTestBase::setUp()
* @see \Drupal\simpletest\KernelTestBase::containerBuild()
*
* @deprecated in drupal:8.3.0 and is removed from drupal:9.0.0.
* Use Drupal\Core\Config\Development\ConfigSchemaChecker.
*/
class ConfigSchemaChecker extends SchemaChecker {
}
Classes
Title | Deprecated | Summary |
---|---|---|
ConfigSchemaChecker | in drupal:8.3.0 and is removed from drupal:9.0.0. Use Drupal\Core\Config\Development\ConfigSchemaChecker. |
Listens to the config save event and validates schema. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.