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
Field config for EntityReferenceItem currently does not provide config dependencies to its configured target_bundles.
Proposed resolution
Add them.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff.txt | 2.41 KB | nedjo |
#5 | entityreference-target-bundles-2571187-5.patch | 3.72 KB | nedjo |
Comments
Comment #2
nedjoNoticed this while reviewing #2567183: Re-export all built-in configuration in core.
Cloned the issue tags etc. from #2569741: [PP-1] FilterFormat should add the roles as config dependencies; they could use review.
Comment #5
nedjoExtend onDependencyRemoval for entity type bundle dependencies.
Comment #8
claudiu.cristeaThis is a duplicate of #1978714: Entity reference doesn't update its field settings when referenced entity bundles are deleted. We should fix the dependencies and reaction on removal there.