Преглед на файлове

added node form columns to clameurs feature

Bachir Soussi Chiadmi преди 7 години
родител
ревизия
2ee8dde488
променени са 2 файла, в които са добавени 241 реда и са изтрити 0 реда
  1. 4 0
      sites/all/modules/features/clameurs/clameurs.info
  2. 237 0
      sites/all/modules/features/clameurs/clameurs.strongarm.inc

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

@@ -21,6 +21,7 @@ dependencies[] = libraries
 dependencies[] = list
 dependencies[] = login_destination
 dependencies[] = node
+dependencies[] = nodeformcols
 dependencies[] = number
 dependencies[] = options
 dependencies[] = page
@@ -186,6 +187,9 @@ features[variable][] = node_preview_thematique
 features[variable][] = node_submitted_documentair
 features[variable][] = node_submitted_episode
 features[variable][] = node_submitted_thematique
+features[variable][] = nodeformscols_field_placements_documentair_default
+features[variable][] = nodeformscols_field_placements_episode_default
+features[variable][] = nodeformscols_field_placements_thematique_default
 features[variable][] = pathauto_node_documentair_pattern
 features[variable][] = pathauto_node_episode_pattern
 features[variable][] = pathauto_node_thematique_pattern

+ 237 - 0
sites/all/modules/features/clameurs/clameurs.strongarm.inc

@@ -214,6 +214,243 @@ function clameurs_strongarm() {
   $strongarm->value = 'main-menu:0';
   $export['menu_parent_thematique'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'nodeformscols_field_placements_documentair_default';
+  $strongarm->value = array(
+    'title' => array(
+      'region' => 'main',
+      'weight' => '0',
+      'has_required' => TRUE,
+      'title' => 'Titre',
+    ),
+    'additional_settings' => array(
+      'region' => 'footer',
+      'weight' => '0',
+      'has_required' => FALSE,
+      'title' => 'Vertical tabs',
+      'hidden' => 0,
+    ),
+    'actions' => array(
+      'region' => 'right',
+      'weight' => '3',
+      'has_required' => FALSE,
+      'title' => 'Enregistrer',
+      'hidden' => 0,
+    ),
+    'entity_translation_entity_form_language_update' => array(
+      'region' => 'footer',
+      'weight' => '1',
+      'has_required' => FALSE,
+      'title' => NULL,
+      'hidden' => 1,
+    ),
+    'field_doc' => array(
+      'region' => 'right',
+      'weight' => '0',
+      'has_required' => FALSE,
+      'title' => 'Doc',
+      'hidden' => 0,
+    ),
+    'field_thematique' => array(
+      'region' => 'right',
+      'weight' => '1',
+      'has_required' => FALSE,
+      'title' => 'Thématique',
+      'hidden' => 0,
+    ),
+    'group_htabs' => array(
+      'region' => 'main',
+      'weight' => '3',
+      'has_required' => FALSE,
+      'title' => 'htabs (Field group)',
+      'hidden' => 0,
+    ),
+    'group_texte' => array(
+      'region' => 'main',
+      'weight' => '4',
+      'has_required' => FALSE,
+      'title' => 'Texte (Field group)',
+      'hidden' => 0,
+    ),
+    'group_video' => array(
+      'region' => 'main',
+      'weight' => '5',
+      'has_required' => FALSE,
+      'title' => 'Video (Field group)',
+      'hidden' => 0,
+    ),
+    'workflow' => array(
+      'region' => 'right',
+      'weight' => '2',
+      'has_required' => FALSE,
+      'title' => 'Brouillon',
+      'hidden' => 0,
+    ),
+  );
+  $export['nodeformscols_field_placements_documentair_default'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'nodeformscols_field_placements_episode_default';
+  $strongarm->value = array(
+    'title' => array(
+      'region' => 'main',
+      'weight' => '0',
+      'has_required' => TRUE,
+      'title' => 'Titre',
+    ),
+    'additional_settings' => array(
+      'region' => 'footer',
+      'weight' => '0',
+      'has_required' => FALSE,
+      'title' => 'Vertical tabs',
+      'hidden' => 0,
+    ),
+    'actions' => array(
+      'region' => 'right',
+      'weight' => '3',
+      'has_required' => FALSE,
+      'title' => 'Enregistrer',
+      'hidden' => 0,
+    ),
+    'entity_translation_entity_form_language_update' => array(
+      'region' => 'footer',
+      'weight' => '1',
+      'has_required' => FALSE,
+      'title' => NULL,
+      'hidden' => 0,
+    ),
+    'field_habiter' => array(
+      'region' => 'right',
+      'weight' => '0',
+      'has_required' => FALSE,
+      'title' => 'Habiter',
+      'hidden' => 1,
+    ),
+    'field_thematique' => array(
+      'region' => 'right',
+      'weight' => '1',
+      'has_required' => FALSE,
+      'title' => 'Thématique',
+      'hidden' => 0,
+    ),
+    'group_htabs' => array(
+      'region' => 'main',
+      'weight' => '3',
+      'has_required' => FALSE,
+      'title' => 'htabs (Field group)',
+      'hidden' => 0,
+    ),
+    'group_texte' => array(
+      'region' => 'main',
+      'weight' => '9',
+      'has_required' => FALSE,
+      'title' => 'Texte (Field group)',
+      'hidden' => 0,
+    ),
+    'group_video' => array(
+      'region' => 'main',
+      'weight' => '10',
+      'has_required' => FALSE,
+      'title' => 'Video (Field group)',
+      'hidden' => 0,
+    ),
+    'workflow' => array(
+      'region' => 'right',
+      'weight' => '2',
+      'has_required' => FALSE,
+      'title' => 'Brouillon',
+      'hidden' => 0,
+    ),
+  );
+  $export['nodeformscols_field_placements_episode_default'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'nodeformscols_field_placements_thematique_default';
+  $strongarm->value = array(
+    'title' => array(
+      'region' => 'main',
+      'weight' => '0',
+      'has_required' => TRUE,
+      'title' => 'Titre',
+    ),
+    'additional_settings' => array(
+      'region' => 'footer',
+      'weight' => '1',
+      'has_required' => FALSE,
+      'title' => 'Vertical tabs',
+      'hidden' => 0,
+    ),
+    'actions' => array(
+      'region' => 'right',
+      'weight' => '4',
+      'has_required' => FALSE,
+      'title' => 'Enregistrer',
+      'hidden' => 0,
+    ),
+    'entity_translation_entity_form_language_update' => array(
+      'region' => 'right',
+      'weight' => '2',
+      'has_required' => FALSE,
+      'title' => NULL,
+      'hidden' => 0,
+    ),
+    'field_ecouter' => array(
+      'region' => 'right',
+      'weight' => '1',
+      'has_required' => FALSE,
+      'title' => 'Écouter',
+      'hidden' => 1,
+    ),
+    'group_htabs' => array(
+      'region' => 'main',
+      'weight' => '1',
+      'has_required' => FALSE,
+      'title' => 'htabs (Field group)',
+      'hidden' => 0,
+    ),
+    'group_texte' => array(
+      'region' => 'main',
+      'weight' => '7',
+      'has_required' => FALSE,
+      'title' => 'Texte (Field group)',
+      'hidden' => 0,
+    ),
+    'group_episodes' => array(
+      'region' => 'main',
+      'weight' => '9',
+      'has_required' => FALSE,
+      'title' => 'Épisodes (Field group)',
+      'hidden' => 0,
+    ),
+    'workflow' => array(
+      'region' => 'right',
+      'weight' => '3',
+      'has_required' => FALSE,
+      'title' => 'Target state',
+      'hidden' => 0,
+    ),
+    'field_poid' => array(
+      'region' => 'right',
+      'weight' => '0',
+      'has_required' => TRUE,
+      'title' => 'Poid',
+    ),
+    'group_eclairage' => array(
+      'region' => 'main',
+      'weight' => '108',
+      'has_required' => FALSE,
+      'title' => 'Éclairages (Field group)',
+      'hidden' => 0,
+    ),
+  );
+  $export['nodeformscols_field_placements_thematique_default'] = $strongarm;
+
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;