1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- /**
- * Implementation of hook_install().
- */
- function fgcf_install() {
- $vocabulary = array(
- 'name' => 'FGCF Thématique',
- '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 visé',
- 'description' => '',
- 'multiple' => 0,
- 'required' => 0,
- 'hierarchy' => 0,
- 'relations' => 1,
- 'module' => 'fgcf',
- 'weight' => 0,
- 'nodes' => array(),
- );
- taxonomy_save_vocabulary($vocabulary);
- }
|