1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054 |
- <?php
- /**
- * Implementation of hook_content_default_fields().
- */
- function fgcf_content_default_fields() {
- $fields = array();
- // Exported field: field_fgcf_fiche_contenu
- $fields['fgcf_fiche-field_fgcf_fiche_contenu'] = array(
- 'field_name' => 'field_fgcf_fiche_contenu',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '1',
- 'parent' => '',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'text',
- 'required' => '1',
- 'multiple' => '0',
- 'module' => 'text',
- 'active' => '1',
- 'text_processing' => '1',
- 'max_length' => '',
- 'allowed_values' => '',
- 'allowed_values_php' => '',
- 'widget' => array(
- 'rows' => '10',
- 'size' => 60,
- 'default_value' => array(
- '0' => array(
- 'value' => '',
- 'format' => '1',
- '_error_element' => 'default_value_widget][field_fgcf_fiche_contenu][0][value',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Contenu',
- 'weight' => '1',
- 'description' => '<b>Important : </b>Ne pas utiliser de mise en forme avancée (titres, caractères gras, tableaux...). Seules les listes à puces non numérotées sont autorisées.',
- 'type' => 'text_textarea',
- 'module' => 'text',
- ),
- );
- // Exported field: field_fgcf_fiche_dif
- $fields['fgcf_fiche-field_fgcf_fiche_dif'] = array(
- 'field_name' => 'field_fgcf_fiche_dif',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '8',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'text',
- 'required' => '1',
- 'multiple' => '0',
- 'module' => 'text',
- 'active' => '1',
- 'text_processing' => '0',
- 'max_length' => '',
- 'allowed_values' => 'n|Non
- o|Oui',
- 'allowed_values_php' => '',
- 'widget' => array(
- 'default_value' => array(
- '0' => array(
- 'value' => 'n',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Eligibilité DIF',
- 'weight' => '8',
- 'description' => '',
- 'type' => 'optionwidgets_buttons',
- 'module' => 'optionwidgets',
- ),
- );
- // Exported field: field_fgcf_fiche_format
- $fields['fgcf_fiche-field_fgcf_fiche_format'] = array(
- 'field_name' => 'field_fgcf_fiche_format',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '11',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'link',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'content_taxonomy',
- 'required' => '1',
- 'multiple' => '1',
- 'module' => 'content_taxonomy',
- 'active' => '1',
- 'save_term_node' => 0,
- 'vid' => '7',
- 'parent' => '0',
- 'parent_php_code' => '',
- 'depth' => '',
- 'widget' => array(
- 'new_terms' => 'insert',
- 'extra_parent' => '0',
- 'maxlength' => '255',
- 'active_tags' => NULL,
- 'group_parent' => '0',
- 'show_depth' => 1,
- 'default_value' => NULL,
- 'default_value_php' => NULL,
- 'label' => 'Supports pédagogiques',
- 'weight' => '11',
- 'description' => '',
- 'type' => 'content_taxonomy_autocomplete',
- 'module' => 'content_taxonomy_autocomplete',
- ),
- );
- // Exported field: field_fgcf_fiche_heures
- $fields['fgcf_fiche-field_fgcf_fiche_heures'] = array(
- 'field_name' => 'field_fgcf_fiche_heures',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '9',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'number_float',
- 'required' => '0',
- 'multiple' => '0',
- 'module' => 'number',
- 'active' => '1',
- 'prefix' => '',
- 'suffix' => ' heure| heures',
- 'min' => '0',
- 'max' => '',
- 'allowed_values' => '',
- 'allowed_values_php' => '',
- 'widget' => array(
- 'default_value' => array(
- '0' => array(
- 'value' => '',
- '_error_element' => 'default_value_widget][field_fgcf_fiche_heures][0][value',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Durée en heures',
- 'weight' => '9',
- 'description' => '',
- 'type' => 'number',
- 'module' => 'number',
- ),
- );
- // Exported field: field_fgcf_fiche_jours
- $fields['fgcf_fiche-field_fgcf_fiche_jours'] = array(
- 'field_name' => 'field_fgcf_fiche_jours',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '10',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'number_float',
- 'required' => '0',
- 'multiple' => '0',
- 'module' => 'number',
- 'active' => '1',
- 'prefix' => '',
- 'suffix' => ' jour| jours',
- 'min' => '0',
- 'max' => '',
- 'allowed_values' => '',
- 'allowed_values_php' => '',
- 'widget' => array(
- 'default_value' => array(
- '0' => array(
- 'value' => '',
- '_error_element' => 'default_value_widget][field_fgcf_fiche_jours][0][value',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Durée en jours',
- 'weight' => '10',
- 'description' => '',
- 'type' => 'number',
- 'module' => 'number',
- ),
- );
- // Exported field: field_fgcf_fiche_modalite
- $fields['fgcf_fiche-field_fgcf_fiche_modalite'] = array(
- 'field_name' => 'field_fgcf_fiche_modalite',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '7',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'number_integer',
- 'required' => '1',
- 'multiple' => '3',
- 'module' => 'number',
- 'active' => '1',
- 'prefix' => '',
- 'suffix' => '',
- 'min' => '',
- 'max' => '',
- 'allowed_values' => '1|Intra-entreprise
- 2|Inter-entreprises
- 3|A distance: internet/téléphone
- 4|Interne',
- 'allowed_values_php' => '',
- 'widget' => array(
- 'default_value' => array(
- '0' => array(
- 'value' => NULL,
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Modalité de formation',
- 'weight' => '7',
- 'description' => '',
- 'type' => 'optionwidgets_buttons',
- 'module' => 'optionwidgets',
- ),
- );
- // Exported field: field_fgcf_fiche_objectif
- $fields['fgcf_fiche-field_fgcf_fiche_objectif'] = array(
- 'field_name' => 'field_fgcf_fiche_objectif',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => 0,
- 'parent' => '',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'text',
- 'required' => '1',
- 'multiple' => '0',
- 'module' => 'text',
- 'active' => '1',
- 'text_processing' => '1',
- 'max_length' => '1000',
- 'allowed_values' => '',
- 'allowed_values_php' => '',
- 'widget' => array(
- 'rows' => '3',
- 'size' => 60,
- 'default_value' => array(
- '0' => array(
- 'value' => '',
- 'format' => '1',
- '_error_element' => 'default_value_widget][field_fgcf_fiche_objectif][0][value',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Objectif',
- 'weight' => 0,
- 'description' => '<b>Important : </b>Ne pas utiliser de mise en forme avancée (titres, caractères gras, tableaux...). Seules les listes à puces non numérotées sont autorisées.',
- 'type' => 'text_textarea',
- 'module' => 'text',
- ),
- );
- // Exported field: field_fgcf_fiche_organisme
- $fields['fgcf_fiche-field_fgcf_fiche_organisme'] = array(
- 'field_name' => 'field_fgcf_fiche_organisme',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '6',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'nodereference',
- 'required' => '1',
- 'multiple' => '1',
- 'module' => 'nodereference',
- 'active' => '1',
- 'referenceable_types' => array(
- 'fgcf_prestataire' => 'fgcf_prestataire',
- 'fgcf_thematique' => 0,
- 'fgcf_fiche' => 0,
- 'page' => 0,
- 'story' => 0,
- ),
- 'advanced_view' => '',
- 'advanced_view_args' => '',
- 'widget' => array(
- 'autocomplete_match' => 'contains',
- 'size' => 60,
- 'default_value' => array(
- '0' => array(
- 'nid' => '',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Organisme de formation',
- 'weight' => '6',
- 'description' => '',
- 'type' => 'nodereference_select',
- 'module' => 'nodereference',
- ),
- );
- // Exported field: field_fgcf_fiche_public
- $fields['fgcf_fiche-field_fgcf_fiche_public'] = array(
- 'field_name' => 'field_fgcf_fiche_public',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '14',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'content_taxonomy',
- 'required' => '1',
- 'multiple' => '1',
- 'module' => 'content_taxonomy',
- 'active' => '1',
- 'save_term_node' => 0,
- 'vid' => '10',
- 'parent' => '0',
- 'parent_php_code' => '',
- 'depth' => '',
- 'widget' => array(
- 'new_terms' => 'insert',
- 'extra_parent' => '0',
- 'maxlength' => '255',
- 'active_tags' => NULL,
- 'default_value' => NULL,
- 'default_value_php' => NULL,
- 'label' => 'Public concerné',
- 'weight' => '14',
- 'description' => '',
- 'type' => 'content_taxonomy_autocomplete',
- 'module' => 'content_taxonomy_autocomplete',
- ),
- );
- // Exported field: field_fgcf_fiche_reference
- $fields['fgcf_fiche-field_fgcf_fiche_reference'] = array(
- 'field_name' => 'field_fgcf_fiche_reference',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '-2',
- 'parent' => '',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'text',
- 'required' => '1',
- 'multiple' => '0',
- 'module' => 'text',
- 'active' => '1',
- 'text_processing' => '0',
- 'max_length' => '10',
- 'allowed_values' => '',
- 'allowed_values_php' => '',
- 'widget' => array(
- 'rows' => 5,
- 'size' => '10',
- 'default_value' => array(
- '0' => array(
- 'value' => '',
- '_error_element' => 'default_value_widget][field_fgcf_fiche_reference][0][value',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Référence',
- 'weight' => '-2',
- 'description' => '',
- 'type' => 'text_textfield',
- 'module' => 'text',
- ),
- );
- // Exported field: field_fgcf_fiche_sanction
- $fields['fgcf_fiche-field_fgcf_fiche_sanction'] = array(
- 'field_name' => 'field_fgcf_fiche_sanction',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '13',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'content_taxonomy',
- 'required' => '0',
- 'multiple' => '1',
- 'module' => 'content_taxonomy',
- 'active' => '1',
- 'save_term_node' => 0,
- 'vid' => '9',
- 'parent' => '0',
- 'parent_php_code' => '',
- 'depth' => '',
- 'widget' => array(
- 'new_terms' => 'insert',
- 'extra_parent' => '0',
- 'maxlength' => '255',
- 'active_tags' => NULL,
- 'default_value' => NULL,
- 'default_value_php' => NULL,
- 'label' => 'Délivrance',
- 'weight' => '13',
- 'description' => '',
- 'type' => 'content_taxonomy_autocomplete',
- 'module' => 'content_taxonomy_autocomplete',
- ),
- );
- // Exported field: field_fgcf_fiche_supports
- $fields['fgcf_fiche-field_fgcf_fiche_supports'] = array(
- 'field_name' => 'field_fgcf_fiche_supports',
- 'type_name' => 'fgcf_fiche',
- 'display_settings' => array(
- 'weight' => '12',
- 'parent' => 'group_fgcf_fiche_meta',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'content_taxonomy',
- 'required' => '0',
- 'multiple' => '1',
- 'module' => 'content_taxonomy',
- 'active' => '1',
- 'save_term_node' => 0,
- 'vid' => '8',
- 'parent' => '0',
- 'parent_php_code' => '',
- 'depth' => '',
- 'widget' => array(
- 'new_terms' => 'insert',
- 'extra_parent' => '0',
- 'maxlength' => '255',
- 'active_tags' => NULL,
- 'default_value' => NULL,
- 'default_value_php' => NULL,
- 'label' => 'Documents remis',
- 'weight' => '12',
- 'description' => '',
- 'type' => 'content_taxonomy_autocomplete',
- 'module' => 'content_taxonomy_autocomplete',
- ),
- );
- // Exported field: field_fgcf_prestataire_link
- $fields['fgcf_prestataire-field_fgcf_prestataire_link'] = array(
- 'field_name' => 'field_fgcf_prestataire_link',
- 'type_name' => 'fgcf_prestataire',
- 'display_settings' => array(
- 'weight' => 0,
- 'parent' => 'group_prestataire_branding',
- 'label' => array(
- 'format' => 'hidden',
- ),
- 'teaser' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'link',
- 'required' => '0',
- 'multiple' => '0',
- 'module' => 'link',
- 'active' => '1',
- 'attributes' => array(
- 'target' => '_blank',
- 'rel' => 'nofollow',
- 'class' => '',
- 'title' => '[title]',
- ),
- 'display' => array(
- 'url_cutoff' => '80',
- ),
- 'url' => 0,
- 'title' => 'optional',
- 'title_value' => 'Site de [title]',
- 'enable_tokens' => 1,
- 'validate_url' => 1,
- 'widget' => array(
- 'default_value' => array(
- '0' => array(
- 'title' => '',
- 'url' => '',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Site',
- 'weight' => 0,
- 'description' => '',
- 'type' => 'link',
- 'module' => 'link',
- ),
- );
- // Exported field: field_fgcf_prestataire_logo
- $fields['fgcf_prestataire-field_fgcf_prestataire_logo'] = array(
- 'field_name' => 'field_fgcf_prestataire_logo',
- 'type_name' => 'fgcf_prestataire',
- 'display_settings' => array(
- 'weight' => '-1',
- 'parent' => 'group_prestataire_branding',
- 'label' => array(
- 'format' => 'hidden',
- ),
- 'teaser' => array(
- 'format' => 'prestataire_logo_liste_linked',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'prestataire_logo_full_default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'filefield',
- 'required' => '0',
- 'multiple' => '0',
- 'module' => 'filefield',
- 'active' => '1',
- 'list_field' => '0',
- 'list_default' => 1,
- 'description_field' => '0',
- 'widget' => array(
- 'file_extensions' => 'png gif jpg jpeg',
- 'file_path' => 'fgcf',
- 'progress_indicator' => 'bar',
- 'max_filesize_per_file' => '1M',
- 'max_filesize_per_node' => '',
- 'max_resolution' => '640x480',
- 'min_resolution' => '0',
- 'alt' => '',
- 'custom_alt' => 0,
- 'title' => '',
- 'custom_title' => 0,
- 'title_type' => 'textfield',
- 'default_image' => NULL,
- 'use_default_image' => 0,
- 'label' => 'Logo',
- 'weight' => '-1',
- 'description' => '',
- 'type' => 'imagefield_widget',
- 'module' => 'imagefield',
- ),
- );
- // Exported field: field_fgcf_thematique_color
- $fields['fgcf_thematique-field_fgcf_thematique_color'] = array(
- 'field_name' => 'field_fgcf_thematique_color',
- 'type_name' => 'fgcf_thematique',
- 'display_settings' => array(
- 'weight' => '-3',
- 'parent' => '',
- 'label' => array(
- 'format' => 'above',
- ),
- 'teaser' => array(
- 'format' => 'hidden',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'hidden',
- 'exclude' => 0,
- ),
- '5' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'ad list' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'colorpicker_cck_textfield',
- 'required' => '0',
- 'multiple' => '0',
- 'module' => 'colorpicker_cck',
- 'active' => '1',
- 'widget' => array(
- 'default_value' => array(
- '0' => array(
- 'value' => '',
- '_error_element' => 'default_value_widget][field_fgcf_thematique_color][0][value',
- ),
- ),
- 'default_value_php' => NULL,
- 'label' => 'Couleur bandeau',
- 'weight' => '-3',
- 'description' => 'Cette couleur sera appliquée sur les contenus \'Fiche de formation\' de ce thème.',
- 'type' => 'colorpicker_cck',
- 'module' => 'colorpicker_cck',
- ),
- );
- // Exported field: field_fgcf_thematique_logo
- $fields['fgcf_thematique-field_fgcf_thematique_logo'] = array(
- 'field_name' => 'field_fgcf_thematique_logo',
- 'type_name' => 'fgcf_thematique',
- 'display_settings' => array(
- 'weight' => '-3',
- 'parent' => '',
- 'label' => array(
- 'format' => 'hidden',
- ),
- 'teaser' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 'full' => array(
- 'format' => 'fgcf_theme_logo_full_default',
- 'exclude' => 0,
- ),
- '4' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- '2' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- '3' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 'token' => array(
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- ),
- 'widget_active' => '1',
- 'type' => 'filefield',
- 'required' => '1',
- 'multiple' => '0',
- 'module' => 'filefield',
- 'active' => '1',
- 'list_field' => '0',
- 'list_default' => 1,
- 'description_field' => '0',
- 'widget' => array(
- 'file_extensions' => 'png gif jpg jpeg',
- 'file_path' => 'fgcf',
- 'progress_indicator' => 'bar',
- 'max_filesize_per_file' => '',
- 'max_filesize_per_node' => '',
- 'max_resolution' => '120x120',
- 'min_resolution' => '0',
- 'alt' => '',
- 'custom_alt' => 0,
- 'title' => '',
- 'custom_title' => 0,
- 'title_type' => 'textfield',
- 'default_image' => NULL,
- 'use_default_image' => 0,
- 'label' => 'Icône',
- 'weight' => '-3',
- 'description' => '',
- 'type' => 'imagefield_widget',
- 'module' => 'imagefield',
- ),
- );
- // Translatables
- // Included for use with string extractors like potx.
- t('Contenu');
- t('Documents remis');
- t('Durée en heures');
- t('Durée en jours');
- t('Délivrance');
- t('Eligibilité DIF');
- t('Icône');
- t('Logo');
- t('Modalité de formation');
- t('Objectif');
- t('Organisme de formation');
- t('Public concerné');
- t('Référence');
- t('Site');
- t('Supports pédagogiques');
- return $fields;
- }
|