public function ConfigSchemaChecker::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php \Drupal\Core\Config\Testing\ConfigSchemaChecker::__construct()
Constructs the ConfigSchemaChecker object.
Parameters
\Drupal\Core\Config\TypedConfigManagerInterface $typed_manager: The typed config manager.
string[] $exclude: An array of config object names that are excluded from schema checking.
File
- core/
lib/ Drupal/ Core/ Config/ Testing/ ConfigSchemaChecker.php, line 61 - Contains \Drupal\Core\Config\Testing\ConfigSchemaChecker.
Class
- ConfigSchemaChecker
- Listens to the config save event and validates schema.
Namespace
Drupal\Core\Config\TestingCode
public function __construct(TypedConfigManagerInterface $typed_manager, array $exclude = array()) {
$this->typedManager = $typed_manager;
$this->exclude = $exclude;
}