Ver código fonte

Ajout modalité 'interne' - http://project.audean.com/node/650

Yves Chedemois 13 anos atrás
pai
commit
80bb649e53
2 arquivos alterados com 13 adições e 1 exclusões
  1. 2 1
      fgcf.features.content.inc
  2. 11 0
      fgcf.install

+ 2 - 1
fgcf.features.content.inc

@@ -367,7 +367,8 @@ o|Oui',
     'max' => '',
     'allowed_values' => '1|Intra-entreprise
 2|Inter-entreprises
-3|A distance: internet/téléphone',
+3|A distance: internet/téléphone
+4|Interne',
     'allowed_values_php' => '',
     'widget' => array(
       'default_value' => array(

+ 11 - 0
fgcf.install

@@ -91,3 +91,14 @@ function fgcf_update_6102() {
   $ret = array(update_sql($sq));
   return $ret;
 }
+
+/**
+ * Deploy feature changes.
+ */
+function fgcf_update_6013() {
+  // Revert only the CCK field changes.
+  features_revert(array('fgcf' => array('content')));
+  // OR, to revert all components for all features :
+  // features_revert();
+  return array();
+}