Problem/Motivation
Drupal\Core\DependencyInjection\Container's class docs say:
> * Extends the Drupal container to set the service ID on the created object.
But the only method this has is __sleep() and it doesn't look like it's doing that.
Steps to reproduce
Proposed resolution
Merge request link
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3417985-3.patch | 540 bytes | pooja saraah |
Issue fork drupal-3417985
Show commands
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
longwaveYep that feature was removed in #2531564: Fix leaky and brittle container serialization solution but we forgot to update the class docblock.
Comment #3
pooja saraah commentedThis patch updates the class docblock to remove the outdated information about setting the service ID on the created object in the Container class.
Comment #4
longwaveSays what it does, but not why. Let's say something like
Comment #7
viren18febs commentedComment #8
smustgrave commented@ viren18febS this was tagged for novice FYI which is intended for new users. Based on your post history you can work on non novice issues please.
Comment #9
quietone commentedBetter title.
Comment #12
quietone commentedCommitted d67efd4 and pushed to 11.x
Committed 8b9ff02 and pushed to 10.2.x.
Thanks!