ConfigSchemaChecker.php

Same filename in this branch
  1. 8.9.x core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php
Same filename and directory in other branches
  1. 9 core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php
  2. 10 core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php
  3. 11.x core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php

Namespace

Drupal\Core\Config\Testing

File

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.