You are here

function ConfigSchemaDiscovery::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 34
Contains \Drupal\Core\Config\Schema\ConfigSchemaDiscovery.

Class

ConfigSchemaDiscovery
Allows YAML files to define config schema types.

Namespace

Drupal\Core\Config\Schema

Code

function __construct(StorageInterface $schema_storage) {
  $this->schemaStorage = $schema_storage;
}