function ConfigSchemaDiscovery::__construct
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php \Drupal\Core\Config\Schema\ConfigSchemaDiscovery::__construct()
- 10 core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php \Drupal\Core\Config\Schema\ConfigSchemaDiscovery::__construct()
- 11.x core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php \Drupal\Core\Config\Schema\ConfigSchemaDiscovery::__construct()
Constructs a ConfigSchemaDiscovery object.
Parameters
$schema_storage: The storage object to use for reading schema data.
File
-
core/
lib/ Drupal/ Core/ Config/ Schema/ ConfigSchemaDiscovery.php, line 29
Class
- ConfigSchemaDiscovery
- Allows YAML files to define config schema types.
Namespace
Drupal\Core\Config\SchemaCode
public function __construct(StorageInterface $schema_storage) {
$this->schemaStorage = $schema_storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.