Remove install container definitions of FileSystem and StreamWrapperManager

Created on 24 January 2024, 11 months ago
Updated 13 February 2024, 10 months ago

Problem/Motivation

In πŸ“Œ Convert StreamWrapperManager to use a service locator Needs review we modified StreamWrapperManager.

In install_begin_request() we define a minimal container to bootstrap the install system, including:

  $container
    ->register('stream_wrapper_manager', 'Drupal\Core\StreamWrapper\StreamWrapperManager')
    ->addMethodCall('setContainer', [new Reference('service_container')]);

However, the setContainer method has been removed and the service locator (container) should be passed as an argument.

Question: why doesn't this fail?

Steps to reproduce

Proposed resolution

Merge request link

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
InstallΒ  β†’

Last updated 7 days ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024