function LenientConfigSchemaChecker::__construct

Constructs the ConfigSchemaChecker object.

Parameters

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

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service to display the warning.

\Psr\Log\LoggerInterface $logger: The logger to save the warning.

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

File

core/lib/Drupal/Core/Config/Development/LenientConfigSchemaChecker.php, line 28

Class

LenientConfigSchemaChecker
Listens to the config save event and warns about invalid schema.

Namespace

Drupal\Core\Config\Development

Code

public function __construct(TypedConfigManagerInterface $typed_manager, MessengerInterface $messenger, LoggerInterface $logger, array $exclude = []) {
    parent::__construct($typed_manager, $exclude);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.