- Issue created by @solariel
- Status changed to Postponed: needs info
about 1 year ago 10:21pm 18 October 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I think this is a dupe of β¨ Dynamic Entity Reference normalization support Active can you confirm?
- πΊπ¦Ukraine solariel
Nope, it isn't related.
In π ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type" Fixed they have added the \Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItemInterface that has a static getReferenceableBundles() method.\Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem implements that method with using 'target_type' option.
Your class DynamicEntityReferenceItem inherits that method but it won't work for dynamic reference since it doesn't have a 'target_type' option.
The issue you've linked is another core issue related to dynamic entity reference support.
This one is about your module having to adapt to solution provided in #3057545
- Status changed to Closed: duplicate
about 1 year ago 10:35am 25 October 2023 - π¨π¦Canada jibran Toronto, Canada
This is a duplicate of π Implement EntityReferenceItemInterface Needs work .