W3cubDocs

/Drupal 8

function ConfigSchemaDiscovery::__construct

ConfigSchemaDiscovery::__construct(StorageInterface $schema_storage)

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\Schema

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Schema!ConfigSchemaDiscovery.php/function/ConfigSchemaDiscovery::__construct/8.1.x