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
NormalizerBase currently extends SerializerAwareNormalizer, which is deprecated since Symfony 3.1 and will be removed in version 4.0. It is suggested that SerializerAwareTrait be used instead.
Proposed resolution
Alter NormalizerBase so it does not extend SerializerAwareNormalizer, but implements SerializerAwareInterface directly and uses SerializerAwareTrait;
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2958292-2.patch | 962 bytes | rlhawk |
Comments
Comment #2
rlhawkHere's a patch that implements this change.
Comment #3
Wim LeersPerfect! Thank you for helping us stay on top of things! I hope to see you around more, it's extremely rare that one can RTBC the first iteration of a patch! :D (Be proud!)
Comment #4
Wim LeersComment #5
alexpottCommitted 33519ea and pushed to 8.6.x. Thanks!