Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The documentation for \Drupal\serialization\RegisterEntityResolversCompilerPass
says that adds services tagged with normalizer
and encoder
to the Serializer. In fact, it adds services tagged with entity_resolver
.
foreach ($container->findTaggedServiceIds('entity_resolver') as $id => $attributes) {
Proposed resolution
Make comment more clear.
Remaining tasks
- Reviews needed
Comment | File | Size | Author |
---|---|---|---|
#2 | 3159102-2.patch | 659 bytes | Niklan |
Comments
Comment #2
NiklanComment #3
andypostComment #4
andypostYes, it consumes only entity_resolver
Comment #5
alexpottCommitted and pushed 3dbcad2dd1 to 9.1.x and ce6bafa10a to 9.0.x and 426b129607 to 8.9.x. Thanks!
As a docs fix backported to 8.9.x