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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nedjo created an issue. See original summary.

nedjo’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
1.65 KB

Noticed 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.

Status: Needs review » Needs work

The last submitted patch, 2: entityreference-target-bundles-2571187-1.patch, failed testing.

The last submitted patch, 2: entityreference-target-bundles-2571187-1.patch, failed testing.

nedjo’s picture

Status: Needs work » Needs review
FileSize
3.72 KB
2.41 KB

Extend onDependencyRemoval for entity type bundle dependencies.

The last submitted patch, 5: entityreference-target-bundles-2571187-5.patch, failed testing.

The last submitted patch, 5: entityreference-target-bundles-2571187-5.patch, failed testing.

claudiu.cristea’s picture

Status: Needs review » Closed (duplicate)

This 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.