You are here

public function ConfigImporter::logError in Drupal 10

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

Logs an error message.

Parameters

string $message: The message to log.

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;
}