Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.0-rc10
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2008 at 17:33 UTC
Updated:
27 Oct 2008 at 17:33 UTC
Maybe this should be a feature request as the api appears to be a reasonably new addition.
When you import content types and fields, hook_content_fieldapi() should be called with $op = 'create instance' for each field created. Currently the api only works for manually created fields.