Closed (fixed)
Project:
Babel
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2026 at 11:11 UTC
Updated:
6 Feb 2026 at 16:04 UTC
Jump to comment: Most recent
\Drupal\babel\EventSubscriber\ConfigSubscriber::removeTranslationsForChangedSource accounts for more than 7% of the install time. It checks for $event->getConfig()->isNew() which does not work and always returns false, see \Drupal\Core\Config\Config::save.
As a result, most of the method runs without effect. This case is more complex, less rewarding, and many configurations are uninstalled later during the final stages of Drupal installation.
Nothing.
No API changes expected.
No data model changes expected.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
huzookaComment #4
huzookaComment #5
huzookaComment #6
herved commentedComment #8
claudiu.cristeaThank you!