'FGCF Thème', 'description' => '', 'multiple' => 0, 'required' => 1, 'hierarchy' => 0, 'relations' => 1, 'module' => 'fgcf', 'weight' => 0, 'nodes' => array('fgcf_fiche' => 1), ); taxonomy_save_vocabulary($vocabulary); $vocabulary = array( 'name' => 'FGCF Format de cours', 'description' => 'Toute caractéristique de la formation, comme la présence de travaux pratiques, une évaluation, etc.', 'multiple' => 0, 'required' => 0, 'hierarchy' => 0, 'relations' => 1, 'module' => 'fgcf', 'weight' => 0, 'nodes' => array(), ); taxonomy_save_vocabulary($vocabulary); $vocabulary = array( 'name' => 'FGCF Supports remis', 'description' => '', 'multiple' => 0, 'required' => 0, 'hierarchy' => 0, 'relations' => 1, 'module' => 'fgcf', 'weight' => 0, 'nodes' => array(), ); taxonomy_save_vocabulary($vocabulary); $vocabulary = array( 'name' => 'FGCF Sanction', 'description' => '', 'multiple' => 1, 'required' => 0, 'hierarchy' => 0, 'relations' => 1, 'module' => 'fgcf', 'weight' => 0, 'nodes' => array(), ); taxonomy_save_vocabulary($vocabulary); $vocabulary = array( 'name' => 'FGCF Public concerné', 'description' => '', 'multiple' => 0, 'required' => 0, 'hierarchy' => 0, 'relations' => 1, 'module' => 'fgcf', 'weight' => 0, 'nodes' => array(), ); taxonomy_save_vocabulary($vocabulary); } /** * Rename "FGCF Thématique" vocabulary to "FGCF Thème", as per issue #642 * * @return array */ function fgcf_update_6101() { $sq = "UPDATE {vocabulary} SET name = 'FGCF Thème' WHERE name = 'FGCF Thématique'"; $ret = array(update_sql($sq)); return $ret; } /** * Rename "FGCF Public visé" vocabulary to "FGCF Public concerné", as per issue #642 * * @return array */ function fgcf_update_6102() { $sq = "UPDATE {vocabulary} SET name = 'FGCF Public concerné' WHERE name = 'FGCF Public visé'"; $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(); }