W3cubDocs

/Drupal 8

public function ConfigImporter::logError

public ConfigImporter::logError($message)

Logs an error message.

Parameters

string $message: The message to log.

File

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

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigImporter.php/function/ConfigImporter::logError/8.1.x