Version 1
[yaffs-website] / web / core / lib / Drupal / Core / Config / Testing / ConfigSchemaChecker.php
diff --git a/web/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php b/web/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php
new file mode 100644 (file)
index 0000000..ea8e27e
--- /dev/null
@@ -0,0 +1,22 @@
+<?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 will be removed before Drupal 9.0.0.
+ *   Use Drupal\Core\Config\Development\ConfigSchemaChecker.
+ */
+class ConfigSchemaChecker extends SchemaChecker {
+}