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
Currently default_content depends on rest module to get serialization_class
of the entity type which is commonly getClass()
method http://cgit.drupalcode.org/drupal/tree/core/modules/rest/src/Plugin/Deri...
Proposed resolution
Get rid of rest module dependency
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|
Comments
Comment #2
andypostBuild on top of #2867579: Core 8.3 compatibility
Comment #3
andypostcommutative patch
Comment #4
larowlanlooks good to me!
thanks @andypost
Comment #6
larowlanComment #8
larowlanComment #9
andypostLooks it still needs rest somehow, got a lot of reports of import of default content
Comment #10
BerdirThat looks unrelated to me, sounds like you have messed up base field overrides without a field type?
Comment #11
andypostSure, @berdir thanx a lot for pointer, issue exactly in caches field definitions
Comment #12
andypostFYI it was caused by #2833562: Installing modules using the ConfigImporter does not work
That means dependencies resolved wrong
Comment #14
Wim LeersThis was made possible by #2758897: Move rest module's "link manager" services to serialization module and #2854830: Move rest/serialization module's "link manager" services to HAL module — glad to see this being taken advantage of in contrib!