public function SchemaDiscovery::__construct

Public constructor.

Parameters

Drupal\Core\Config\StorageInterface $storage: The storage controller object to use for reading schema data

File

drupal/core/lib/Drupal/Core/Config/Schema/SchemaDiscovery.php, line 39
Contains \Drupal\Config\Schema\SchemaDiscovery.

Class

SchemaDiscovery
A discovery mechanism that reads plugin definitions from schema data in YAML format.

Namespace

Drupal\Core\Config\Schema

Code

public function __construct($storage) {
  $this->storage = $storage;
  $this
    ->loadAllSchema();
}