Needs work
Project:
Nodeblock
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2015 at 09:18 UTC
Updated:
12 Jun 2015 at 14:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
idebr commentedAttached patch register nodeblock as a node property, so its data is saved correctly by modules that validate entity properties such as Migrate.
Comment #2
Johnny vd Laar commentedThe info array is keyed by entity types. nodeblock is not an entity type. Are you sure that your code is working? Shouldn't type be 'node' ? And you iterate over properties... but shoudn't we just be adding the nodeblock property?
I also think it should be inside a hook_entity_property_info.
And the n00b question... how do I test this. I never use migrate so what should I enable to see how this works.