Closed (fixed)
Project:
Recipe
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2016 at 22:23 UTC
Updated:
16 Sep 2017 at 04:10 UTC
Jump to comment: Most recent
Comments
Comment #2
klokie commentedComment #3
dcam commentedMost of them are available. The two yield fields are not yet because they have not been converted from the old recipe data table to the field API yet. I hadn't figured out how I wanted to set those up until I developed the 8.x port and haven't backported that yet. The more concerning part is that the Ingredient field is not available for indexing. I'll look into the issue now. My guess is that there is some part of the Search API that needs to be implemented for this custom field type.
Comment #4
dcam commentedI did not realize integration with the Entity API had to be added for custom fields. Without such integration, the ingredient fields were not available. I guess that I assumed that by making these genuine D7 fields, using the Field API and not the old custom schema, that they would be made available to modules like the Search API for use. Apparently not.
The docs I used as reference for adding it can be found here: https://www.drupal.org/docs/7/api/entity-api/property-info-for-fields.
Comment #6
dcam commentedThis is working well for me when indexing ingredient fields.