function ConfigImporter::logError

Same name and namespace in other branches
  1. 11.x 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 231

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

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

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