Support Entity API discovery of fields
Originally reported issue
Field Token Value fields added to entityform bundle are not discovered by entity_get_all_property_info('entityform');
I have not dug into this further. From a quick search, field_token_value may need to implement hook_entity_property_info_alter() to inform the entity api of itself.
This may need to be a feature request to support Entity API instead of a bug report.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | field_token_value-entity-api-2895226-4.patch | 341 bytes | jasonawant |
Comments
Comment #2
haydent commentedThat is true, I have missed the Entity integration. I believe that it should just require the property_type being set within the hook_field_info():
https://www.drupal.org/docs/7/api/entity-api/property-info-for-fields
Comment #3
jasonawantHi haydent,
Thank you for the response and direction. That indeed fixed the issue! Here's a patch.
Comment #4
jasonawantComment #6
haydent commentedThanks jasonawant. The fix is fine so have committed it to the dev branch. I will be creating a new stable release within the next could of days. Going to update this to be fixed.