ConfigImporter::$errors

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::errors
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::errors
  3. 11.x core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::errors

A log of any errors encountered.

If errors are logged during the validation event the configuration synchronization will not occur. If errors occur during an import then best efforts are made to complete the synchronization.

Type: array

File

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

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

protected $errors = [];

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