Closed (fixed)
Project:
Color Field
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2012 at 12:12 UTC
Updated:
26 Oct 2012 at 09:59 UTC
To achieve this, we just need to add a 'property_type' key to the color_field_field_info return array with the value of 'color_field_rgb'.
So something like this seems to work:
function color_field_field_info() {
return array(
'color_field_rgb' => array(
'label' => t('Color Field'),
'description' => t('Field using a hexadecimal notation.'),
'default_widget' => 'color_field_default_widget',
'default_formatter' => 'color_field_default_formatter',
'property_type' => 'color_field_rgb',
),
);
}
Comments
Comment #1
targoo commentedHi
Done on dev and will be released soon in version 7.2
Thanks,
Comment #2
targoo commented7.x-1.2 has been released and fixes this issue.