After #2926068: Deprecate system_rebuild_module_data() and remove usages in core, a new ModuleExtensionList argument to the \Drupal\Core\Config\ConfigImporter constructor is introduced and made optional for BC reasons. The old method signature was deprecated in that issue as the "optionalness" will be removed in Drupal 9.0.0
This issue is where the removal will be done in D9.
@param \Drupal\Core\Extension\ModuleExtensionList|null $extension_list_module
+ * The module extension list. This is left optional for BC reasons, but the
+ * optional usage is deprecated and will become required in Drupal 9.0.0.
Comments
Comment #2
andypostBetter to combine this with related #3017360: Replace theme handler with theme installer in ConfigImporter
Comment #3
berdirI don't think we need dedicated issues for each case, we have dozens of those option arguments, one meta should be enough and we can then still decide if/how to split it up?
Comment #5
berdirI'll remove it in #3104307: Remove BC layers in various Drupal\Core components