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

Breadcrumb

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

function ConfigSchemaChecker::__construct

Constructs the ConfigSchemaChecker object.

Parameters

\Drupal\Core\Config\TypedConfigManagerInterface $typed_manager: The typed config manager.

string[] $exclude: An array of config object names that are excluded from schema checking.

bool $validateConstraints: Determines if constraints will be validated. If TRUE, constraint validation errors will be added to the errors found by SchemaCheckTrait::checkConfigSchema().

File

core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php, line 61

Class

ConfigSchemaChecker
Listens to the config save event and validates schema.

Namespace

Drupal\Core\Config\Development

Code

public function __construct(TypedConfigManagerInterface $typed_manager, array $exclude = [], bool $validateConstraints = FALSE) {
    $this->typedManager = $typed_manager;
    $this->exclude = $exclude;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal