Browse Source

[fix] Backport some prod values.

opi 7 years ago
parent
commit
8257d939fa

+ 7 - 8
sites/all/modules/custom/ffdn_article/ffdn_article.features.field_instance.inc

@@ -84,7 +84,7 @@ function ffdn_article_field_default_field_instances() {
         'summary_rows' => 5,
         'summary_rows' => 5,
       ),
       ),
       'type' => 'text_textarea_with_summary',
       'type' => 'text_textarea_with_summary',
-      'weight' => -4,
+      'weight' => 2,
     ),
     ),
   );
   );
 
 
@@ -118,27 +118,26 @@ function ffdn_article_field_default_field_instances() {
     'entity_type' => 'node',
     'entity_type' => 'node',
     'field_name' => 'field_image',
     'field_name' => 'field_image',
     'label' => 'Image',
     'label' => 'Image',
-    'required' => 0,
+    'required' => FALSE,
     'settings' => array(
     'settings' => array(
-      'alt_field' => 1,
+      'alt_field' => TRUE,
       'default_image' => 0,
       'default_image' => 0,
       'file_directory' => 'field/image',
       'file_directory' => 'field/image',
       'file_extensions' => 'png gif jpg jpeg',
       'file_extensions' => 'png gif jpg jpeg',
       'max_filesize' => '',
       'max_filesize' => '',
       'max_resolution' => '',
       'max_resolution' => '',
       'min_resolution' => '',
       'min_resolution' => '',
-      'title_field' => 0,
+      'title_field' => '',
       'user_register_form' => FALSE,
       'user_register_form' => FALSE,
     ),
     ),
     'widget' => array(
     'widget' => array(
-      'active' => 1,
       'module' => 'image',
       'module' => 'image',
       'settings' => array(
       'settings' => array(
         'preview_image_style' => 'thumbnail',
         'preview_image_style' => 'thumbnail',
         'progress_indicator' => 'throbber',
         'progress_indicator' => 'throbber',
       ),
       ),
       'type' => 'image_image',
       'type' => 'image_image',
-      'weight' => -1,
+      'weight' => 4,
     ),
     ),
   );
   );
 
 
@@ -188,7 +187,7 @@ function ffdn_article_field_default_field_instances() {
         'progress_indicator' => 'throbber',
         'progress_indicator' => 'throbber',
       ),
       ),
       'type' => 'image_image',
       'type' => 'image_image',
-      'weight' => 31,
+      'weight' => 5,
     ),
     ),
   );
   );
 
 
@@ -228,7 +227,7 @@ function ffdn_article_field_default_field_instances() {
         'size' => 60,
         'size' => 60,
       ),
       ),
       'type' => 'taxonomy_autocomplete',
       'type' => 'taxonomy_autocomplete',
-      'weight' => -4,
+      'weight' => 3,
     ),
     ),
   );
   );