Commit 516768a9 authored by targoo's avatar targoo

reorder field widget choice

parent c6229d4f
......@@ -298,6 +298,7 @@ function color_field_field_widget_info() {
$widgets['color_field_default_widget'] = array(
'label' => t('Pre-selected Color Boxes'),
'field types' => array('color_field_rgb'),
'weight' => 2,
);
// Color_field_farbtastic_widget need more work before release.
......@@ -311,6 +312,7 @@ function color_field_field_widget_info() {
$widgets['color_field_simple_widget'] = array(
'label' => t('Simple Color-Picker'),
'field types' => array('color_field_rgb'),
'weight' => 3,
);
}
......@@ -335,6 +337,7 @@ function color_field_field_widget_info() {
$widgets['color_field_spectrum_widget'] = array(
'label' => t('Spectrum Color-Picker'),
'field types' => array('color_field_rgb'),
'weight' => 4,
);
}
......@@ -342,6 +345,7 @@ function color_field_field_widget_info() {
$widgets['color_field_plain_text'] = array(
'label' => t('Plain text (RGB value as #ffffff)'),
'field types' => array('color_field_rgb'),
'weight' => 1,
);
return $widgets;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment