Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigSchemaDiscovery.php

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

Code

public function __construct(StorageInterface $schema_storage) {
    $this->schemaStorage = $schema_storage;
}
RSS feed
Powered by Drupal