Browse Source

removed video description field from docu and episode

Bachir Soussi Chiadmi 7 years ago
parent
commit
e0e8482b12

+ 6 - 104
sites/all/modules/features/clameurs/clameurs.features.field_instance.inc

@@ -274,58 +274,6 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-documentair-field_description'.
-  $field_instances['node-documentair-field_description'] = array(
-    'bundle' => 'documentair',
-    'default_value' => NULL,
-    'deleted' => 0,
-    'description' => '',
-    'display' => array(
-      'accueil' => array(
-        'label' => 'above',
-        'settings' => array(),
-        'type' => 'hidden',
-        'weight' => 6,
-      ),
-      'default' => array(
-        'label' => 'above',
-        'module' => 'text',
-        'settings' => array(),
-        'type' => 'text_default',
-        'weight' => 4,
-      ),
-      'teaser' => array(
-        'label' => 'above',
-        'settings' => array(),
-        'type' => 'hidden',
-        'weight' => 6,
-      ),
-    ),
-    'entity_type' => 'node',
-    'field_name' => 'field_description',
-    'label' => 'Description',
-    'required' => 0,
-    'settings' => array(
-      'entity_translation_sync' => FALSE,
-      'linkit' => array(
-        'button_text' => 'Recherche',
-        'enable' => 0,
-        'profile' => '',
-      ),
-      'text_processing' => 1,
-      'user_register_form' => FALSE,
-    ),
-    'widget' => array(
-      'active' => 1,
-      'module' => 'text',
-      'settings' => array(
-        'rows' => 5,
-      ),
-      'type' => 'text_textarea',
-      'weight' => 103,
-    ),
-  );
-
   // Exported field_instance: 'node-documentair-field_doc'.
   $field_instances['node-documentair-field_doc'] = array(
     'bundle' => 'documentair',
@@ -584,73 +532,27 @@ function clameurs_field_default_field_instances() {
     'entity_type' => 'node',
     'field_name' => 'body',
     'label' => 'Body',
-    'required' => FALSE,
-    'settings' => array(
-      'display_summary' => TRUE,
-      'entity_translation_sync' => FALSE,
-      'text_processing' => 1,
-      'user_register_form' => FALSE,
-    ),
-    'widget' => array(
-      'module' => 'text',
-      'settings' => array(
-        'rows' => 20,
-        'summary_rows' => 5,
-      ),
-      'type' => 'text_textarea_with_summary',
-      'weight' => 2,
-    ),
-  );
-
-  // Exported field_instance: 'node-episode-field_description'.
-  $field_instances['node-episode-field_description'] = array(
-    'bundle' => 'episode',
-    'default_value' => NULL,
-    'deleted' => 0,
-    'description' => '',
-    'display' => array(
-      'accueil' => array(
-        'label' => 'above',
-        'settings' => array(),
-        'type' => 'hidden',
-        'weight' => 7,
-      ),
-      'default' => array(
-        'label' => 'above',
-        'module' => 'text',
-        'settings' => array(),
-        'type' => 'text_default',
-        'weight' => 2,
-      ),
-      'teaser' => array(
-        'label' => 'above',
-        'settings' => array(),
-        'type' => 'hidden',
-        'weight' => 5,
-      ),
-    ),
-    'entity_type' => 'node',
-    'field_name' => 'field_description',
-    'label' => 'Description',
     'required' => 0,
     'settings' => array(
+      'display_summary' => 1,
       'entity_translation_sync' => FALSE,
       'linkit' => array(
         'button_text' => 'Recherche',
         'enable' => 0,
         'profile' => '',
       ),
-      'text_processing' => 0,
+      'text_processing' => 1,
       'user_register_form' => FALSE,
     ),
     'widget' => array(
       'active' => 1,
       'module' => 'text',
       'settings' => array(
-        'rows' => 5,
+        'rows' => 20,
+        'summary_rows' => 5,
       ),
-      'type' => 'text_textarea',
-      'weight' => 103,
+      'type' => 'text_textarea_with_summary',
+      'weight' => 2,
     ),
   );
 

+ 0 - 2
sites/all/modules/features/clameurs/clameurs.info

@@ -98,13 +98,11 @@ features[field_instance][] = cer-cer-cer_right
 features[field_instance][] = cer-cer-cer_weight
 features[field_instance][] = file-image-field_legende
 features[field_instance][] = node-documentair-body
-features[field_instance][] = node-documentair-field_description
 features[field_instance][] = node-documentair-field_doc
 features[field_instance][] = node-documentair-field_emvideo
 features[field_instance][] = node-documentair-field_thematique
 features[field_instance][] = node-documentair-title_field
 features[field_instance][] = node-episode-body
-features[field_instance][] = node-episode-field_description
 features[field_instance][] = node-episode-field_emvideo
 features[field_instance][] = node-episode-field_habiter
 features[field_instance][] = node-episode-field_thematique