Jelajahi Sumber

added workflow to clameurs feature

Bachir Soussi Chiadmi 7 tahun lalu
induk
melakukan
7c405f1e6e

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

@@ -32,6 +32,13 @@ dependencies[] = text
 dependencies[] = video_embed_field
 dependencies[] = video_embed_field_overlay
 dependencies[] = video_filter_field
+dependencies[] = workflow
+dependencies[] = workflow_access
+dependencies[] = workflow_actions
+dependencies[] = workflow_admin_ui
+dependencies[] = workflow_rules
+dependencies[] = workflow_vbo
+dependencies[] = workflow_views
 features[cer][] = node:documentair:field_thematique*node:thematique:field_eclairages
 features[cer][] = node:thematique:field_episodes*node:episode:field_thematique
 features[ctools][] = field_group:field_group:1
@@ -160,4 +167,7 @@ features[variable][] = node_submitted_thematique
 features[variable][] = pathauto_node_documentair_pattern
 features[variable][] = pathauto_node_episode_pattern
 features[variable][] = pathauto_node_thematique_pattern
+features[variable][] = workflow_documentair
+features[variable][] = workflow_episode
+features[variable][] = workflow_thematique
 project path = sites/all/modules/features

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

@@ -267,5 +267,32 @@ function clameurs_strongarm() {
   $strongarm->value = '';
   $export['pathauto_node_thematique_pattern'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'workflow_documentair';
+  $strongarm->value = array(
+    0 => 'node',
+  );
+  $export['workflow_documentair'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'workflow_episode';
+  $strongarm->value = array(
+    0 => 'node',
+  );
+  $export['workflow_episode'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'workflow_thematique';
+  $strongarm->value = array(
+    0 => 'node',
+  );
+  $export['workflow_thematique'] = $strongarm;
+
   return $export;
 }