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.
In hook_entity_property_info for the data_entity module, the definition includes:
'field' => TRUE,
for all the columns.
Unless I am misunderstanding things field is for data that comes from drupal core fields, which this data does not.
So this line should not be here.
Also, upon removing this, I was able to select my columns as targets in feeds.
Comment | File | Size | Author |
---|---|---|---|
#1 | data-entity_prop_info_field-1957022-1.patch | 465 bytes | rooby |
Comments
Comment #1
rooby CreditAttribution: rooby commentedPatch...
Comment #2
joachim CreditAttribution: joachim commented> Unless I am misunderstanding things field is for data that comes from drupal core fields, which this data does not.
> So this line should not be here.
Entity API docs confirm this. Committed. Thanks for the patch.
git commit -m "Issue #1957022 by rooby: Fixed hook_entity_property_info() declaring table columns as fields." --author="rooby "
Comment #3
rooby CreditAttribution: rooby commentedGreat, thanks. I was hoping I wasn't off track.