You are here

public function ConfigImporter::logError in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::logError()

Logs an error message.

Parameters

string $message: The message to log.

3 calls to ConfigImporter::logError()
ConfigImporter::checkOp in core/lib/Drupal/Core/Config/ConfigImporter.php
Checks that the operation is still valid.
ConfigImporter::processConfiguration in core/lib/Drupal/Core/Config/ConfigImporter.php
Processes a configuration change.
ConfigImporter::validate in core/lib/Drupal/Core/Config/ConfigImporter.php
Dispatches validate event for a ConfigImporter object.

File

core/lib/Drupal/Core/Config/ConfigImporter.php, line 217

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

public function logError($message) {
  $this->errors[] = $message;
}