Skip to content
Snippets Groups Projects

Issue#3432315: Resolve PHP errors on config sync.

All threads resolved!
Files
2
@@ -133,6 +133,10 @@ class ConfigIgnoreEventSubscriber implements EventSubscriberInterface, CacheTags
// Get the config ignore settings form the transformation storage.
$transformation_storage = $transformation_storage->createCollection(StorageInterface::DEFAULT_COLLECTION);
if (empty($transformation_storage->listAll())) {
// Do not ignore anything if the transformation storage is empty in the default collection.
return;
}
if ($transformation_storage->exists('config_ignore.settings')) {
try {
// This can be used to hook into config ignore via an event subscriber
Loading