fgcf.features.content.inc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990
  1. <?php
  2. /**
  3. * Implementation of hook_content_default_fields().
  4. */
  5. function fgcf_content_default_fields() {
  6. $fields = array();
  7. // Exported field: field_fgcf_fiche_contenu
  8. $fields['fgcf_fiche-field_fgcf_fiche_contenu'] = array(
  9. 'field_name' => 'field_fgcf_fiche_contenu',
  10. 'type_name' => 'fgcf_fiche',
  11. 'display_settings' => array(
  12. 'weight' => '1',
  13. 'parent' => '',
  14. 'label' => array(
  15. 'format' => 'above',
  16. ),
  17. 'teaser' => array(
  18. 'format' => 'default',
  19. 'exclude' => 0,
  20. ),
  21. 'full' => array(
  22. 'format' => 'default',
  23. 'exclude' => 0,
  24. ),
  25. '4' => array(
  26. 'format' => 'default',
  27. 'exclude' => 0,
  28. ),
  29. '2' => array(
  30. 'format' => 'default',
  31. 'exclude' => 0,
  32. ),
  33. '3' => array(
  34. 'format' => 'default',
  35. 'exclude' => 0,
  36. ),
  37. 'token' => array(
  38. 'format' => 'default',
  39. 'exclude' => 0,
  40. ),
  41. ),
  42. 'widget_active' => '1',
  43. 'type' => 'text',
  44. 'required' => '1',
  45. 'multiple' => '0',
  46. 'module' => 'text',
  47. 'active' => '1',
  48. 'text_processing' => '1',
  49. 'max_length' => '',
  50. 'allowed_values' => '',
  51. 'allowed_values_php' => '',
  52. 'widget' => array(
  53. 'rows' => '10',
  54. 'size' => 60,
  55. 'default_value' => array(
  56. '0' => array(
  57. 'value' => '',
  58. 'format' => '1',
  59. '_error_element' => 'default_value_widget][field_fgcf_fiche_contenu][0][value',
  60. ),
  61. ),
  62. 'default_value_php' => NULL,
  63. 'label' => 'Contenu',
  64. 'weight' => '1',
  65. '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.',
  66. 'type' => 'text_textarea',
  67. 'module' => 'text',
  68. ),
  69. );
  70. // Exported field: field_fgcf_fiche_dif
  71. $fields['fgcf_fiche-field_fgcf_fiche_dif'] = array(
  72. 'field_name' => 'field_fgcf_fiche_dif',
  73. 'type_name' => 'fgcf_fiche',
  74. 'display_settings' => array(
  75. 'weight' => '8',
  76. 'parent' => 'group_fgcf_fiche_meta',
  77. 'label' => array(
  78. 'format' => 'above',
  79. ),
  80. 'teaser' => array(
  81. 'format' => 'default',
  82. 'exclude' => 0,
  83. ),
  84. 'full' => array(
  85. 'format' => 'default',
  86. 'exclude' => 0,
  87. ),
  88. '4' => array(
  89. 'format' => 'default',
  90. 'exclude' => 0,
  91. ),
  92. '2' => array(
  93. 'format' => 'default',
  94. 'exclude' => 0,
  95. ),
  96. '3' => array(
  97. 'format' => 'default',
  98. 'exclude' => 0,
  99. ),
  100. 'token' => array(
  101. 'format' => 'default',
  102. 'exclude' => 0,
  103. ),
  104. ),
  105. 'widget_active' => '1',
  106. 'type' => 'text',
  107. 'required' => '1',
  108. 'multiple' => '0',
  109. 'module' => 'text',
  110. 'active' => '1',
  111. 'text_processing' => '0',
  112. 'max_length' => '',
  113. 'allowed_values' => 'n|Non
  114. o|Oui',
  115. 'allowed_values_php' => '',
  116. 'widget' => array(
  117. 'default_value' => array(
  118. '0' => array(
  119. 'value' => 'n',
  120. ),
  121. ),
  122. 'default_value_php' => NULL,
  123. 'label' => 'Eligibilité DIF',
  124. 'weight' => '8',
  125. 'description' => '',
  126. 'type' => 'optionwidgets_buttons',
  127. 'module' => 'optionwidgets',
  128. ),
  129. );
  130. // Exported field: field_fgcf_fiche_format
  131. $fields['fgcf_fiche-field_fgcf_fiche_format'] = array(
  132. 'field_name' => 'field_fgcf_fiche_format',
  133. 'type_name' => 'fgcf_fiche',
  134. 'display_settings' => array(
  135. 'weight' => '11',
  136. 'parent' => 'group_fgcf_fiche_meta',
  137. 'label' => array(
  138. 'format' => 'above',
  139. ),
  140. 'teaser' => array(
  141. 'format' => 'default',
  142. 'exclude' => 0,
  143. ),
  144. 'full' => array(
  145. 'format' => 'link',
  146. 'exclude' => 0,
  147. ),
  148. '4' => array(
  149. 'format' => 'default',
  150. 'exclude' => 0,
  151. ),
  152. '2' => array(
  153. 'format' => 'default',
  154. 'exclude' => 0,
  155. ),
  156. '3' => array(
  157. 'format' => 'default',
  158. 'exclude' => 0,
  159. ),
  160. 'token' => array(
  161. 'format' => 'default',
  162. 'exclude' => 0,
  163. ),
  164. ),
  165. 'widget_active' => '1',
  166. 'type' => 'content_taxonomy',
  167. 'required' => '1',
  168. 'multiple' => '1',
  169. 'module' => 'content_taxonomy',
  170. 'active' => '1',
  171. 'save_term_node' => 0,
  172. 'vid' => '7',
  173. 'parent' => '0',
  174. 'parent_php_code' => '',
  175. 'depth' => '',
  176. 'widget' => array(
  177. 'new_terms' => 'insert',
  178. 'extra_parent' => '0',
  179. 'maxlength' => '255',
  180. 'active_tags' => NULL,
  181. 'group_parent' => '0',
  182. 'show_depth' => 1,
  183. 'default_value' => NULL,
  184. 'default_value_php' => NULL,
  185. 'label' => 'Supports de cours',
  186. 'weight' => '11',
  187. 'description' => '',
  188. 'type' => 'content_taxonomy_autocomplete',
  189. 'module' => 'content_taxonomy_autocomplete',
  190. ),
  191. );
  192. // Exported field: field_fgcf_fiche_heures
  193. $fields['fgcf_fiche-field_fgcf_fiche_heures'] = array(
  194. 'field_name' => 'field_fgcf_fiche_heures',
  195. 'type_name' => 'fgcf_fiche',
  196. 'display_settings' => array(
  197. 'weight' => '9',
  198. 'parent' => 'group_fgcf_fiche_meta',
  199. 'label' => array(
  200. 'format' => 'above',
  201. ),
  202. 'teaser' => array(
  203. 'format' => 'default',
  204. 'exclude' => 0,
  205. ),
  206. 'full' => array(
  207. 'format' => 'default',
  208. 'exclude' => 0,
  209. ),
  210. '4' => array(
  211. 'format' => 'default',
  212. 'exclude' => 0,
  213. ),
  214. '2' => array(
  215. 'format' => 'default',
  216. 'exclude' => 0,
  217. ),
  218. '3' => array(
  219. 'format' => 'default',
  220. 'exclude' => 0,
  221. ),
  222. 'token' => array(
  223. 'format' => 'default',
  224. 'exclude' => 0,
  225. ),
  226. ),
  227. 'widget_active' => '1',
  228. 'type' => 'number_float',
  229. 'required' => '0',
  230. 'multiple' => '0',
  231. 'module' => 'number',
  232. 'active' => '1',
  233. 'prefix' => '',
  234. 'suffix' => ' heure| heures',
  235. 'min' => '0',
  236. 'max' => '',
  237. 'allowed_values' => '',
  238. 'allowed_values_php' => '',
  239. 'widget' => array(
  240. 'default_value' => array(
  241. '0' => array(
  242. 'value' => '',
  243. '_error_element' => 'default_value_widget][field_fgcf_fiche_heures][0][value',
  244. ),
  245. ),
  246. 'default_value_php' => NULL,
  247. 'label' => 'Durée',
  248. 'weight' => '9',
  249. 'description' => '',
  250. 'type' => 'number',
  251. 'module' => 'number',
  252. ),
  253. );
  254. // Exported field: field_fgcf_fiche_jours
  255. $fields['fgcf_fiche-field_fgcf_fiche_jours'] = array(
  256. 'field_name' => 'field_fgcf_fiche_jours',
  257. 'type_name' => 'fgcf_fiche',
  258. 'display_settings' => array(
  259. 'weight' => '10',
  260. 'parent' => 'group_fgcf_fiche_meta',
  261. 'label' => array(
  262. 'format' => 'above',
  263. ),
  264. 'teaser' => array(
  265. 'format' => 'default',
  266. 'exclude' => 0,
  267. ),
  268. 'full' => array(
  269. 'format' => 'default',
  270. 'exclude' => 0,
  271. ),
  272. '4' => array(
  273. 'format' => 'default',
  274. 'exclude' => 0,
  275. ),
  276. '2' => array(
  277. 'format' => 'default',
  278. 'exclude' => 0,
  279. ),
  280. '3' => array(
  281. 'format' => 'default',
  282. 'exclude' => 0,
  283. ),
  284. 'token' => array(
  285. 'format' => 'default',
  286. 'exclude' => 0,
  287. ),
  288. ),
  289. 'widget_active' => '1',
  290. 'type' => 'number_float',
  291. 'required' => '0',
  292. 'multiple' => '0',
  293. 'module' => 'number',
  294. 'active' => '1',
  295. 'prefix' => '',
  296. 'suffix' => ' jour| jours',
  297. 'min' => '0',
  298. 'max' => '',
  299. 'allowed_values' => '',
  300. 'allowed_values_php' => '',
  301. 'widget' => array(
  302. 'default_value' => array(
  303. '0' => array(
  304. 'value' => '',
  305. '_error_element' => 'default_value_widget][field_fgcf_fiche_jours][0][value',
  306. ),
  307. ),
  308. 'default_value_php' => NULL,
  309. 'label' => 'Longueur',
  310. 'weight' => '10',
  311. 'description' => '',
  312. 'type' => 'number',
  313. 'module' => 'number',
  314. ),
  315. );
  316. // Exported field: field_fgcf_fiche_modalite
  317. $fields['fgcf_fiche-field_fgcf_fiche_modalite'] = array(
  318. 'field_name' => 'field_fgcf_fiche_modalite',
  319. 'type_name' => 'fgcf_fiche',
  320. 'display_settings' => array(
  321. 'weight' => '7',
  322. 'parent' => 'group_fgcf_fiche_meta',
  323. 'label' => array(
  324. 'format' => 'above',
  325. ),
  326. 'teaser' => array(
  327. 'format' => 'default',
  328. 'exclude' => 0,
  329. ),
  330. 'full' => array(
  331. 'format' => 'default',
  332. 'exclude' => 0,
  333. ),
  334. '4' => array(
  335. 'format' => 'default',
  336. 'exclude' => 0,
  337. ),
  338. '2' => array(
  339. 'format' => 'default',
  340. 'exclude' => 0,
  341. ),
  342. '3' => array(
  343. 'format' => 'default',
  344. 'exclude' => 0,
  345. ),
  346. 'token' => array(
  347. 'format' => 'default',
  348. 'exclude' => 0,
  349. ),
  350. ),
  351. 'widget_active' => '1',
  352. 'type' => 'number_integer',
  353. 'required' => '1',
  354. 'multiple' => '3',
  355. 'module' => 'number',
  356. 'active' => '1',
  357. 'prefix' => '',
  358. 'suffix' => '',
  359. 'min' => '',
  360. 'max' => '',
  361. 'allowed_values' => '1|Intra-entreprise
  362. 2|Inter-entreprises
  363. 3|A distance: internet/téléphone
  364. 4|Interne',
  365. 'allowed_values_php' => '',
  366. 'widget' => array(
  367. 'default_value' => array(
  368. '0' => array(
  369. 'value' => NULL,
  370. ),
  371. ),
  372. 'default_value_php' => NULL,
  373. 'label' => 'Modalité',
  374. 'weight' => '7',
  375. 'description' => '',
  376. 'type' => 'optionwidgets_buttons',
  377. 'module' => 'optionwidgets',
  378. ),
  379. );
  380. // Exported field: field_fgcf_fiche_objectif
  381. $fields['fgcf_fiche-field_fgcf_fiche_objectif'] = array(
  382. 'field_name' => 'field_fgcf_fiche_objectif',
  383. 'type_name' => 'fgcf_fiche',
  384. 'display_settings' => array(
  385. 'weight' => 0,
  386. 'parent' => '',
  387. 'label' => array(
  388. 'format' => 'above',
  389. ),
  390. 'teaser' => array(
  391. 'format' => 'default',
  392. 'exclude' => 0,
  393. ),
  394. 'full' => array(
  395. 'format' => 'default',
  396. 'exclude' => 0,
  397. ),
  398. '4' => array(
  399. 'format' => 'default',
  400. 'exclude' => 0,
  401. ),
  402. '2' => array(
  403. 'format' => 'default',
  404. 'exclude' => 0,
  405. ),
  406. '3' => array(
  407. 'format' => 'default',
  408. 'exclude' => 0,
  409. ),
  410. 'token' => array(
  411. 'format' => 'default',
  412. 'exclude' => 0,
  413. ),
  414. ),
  415. 'widget_active' => '1',
  416. 'type' => 'text',
  417. 'required' => '1',
  418. 'multiple' => '0',
  419. 'module' => 'text',
  420. 'active' => '1',
  421. 'text_processing' => '1',
  422. 'max_length' => '1000',
  423. 'allowed_values' => '',
  424. 'allowed_values_php' => '',
  425. 'widget' => array(
  426. 'rows' => '3',
  427. 'size' => 60,
  428. 'default_value' => array(
  429. '0' => array(
  430. 'value' => '',
  431. 'format' => '1',
  432. '_error_element' => 'default_value_widget][field_fgcf_fiche_objectif][0][value',
  433. ),
  434. ),
  435. 'default_value_php' => NULL,
  436. 'label' => 'Objectif',
  437. 'weight' => 0,
  438. '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.',
  439. 'type' => 'text_textarea',
  440. 'module' => 'text',
  441. ),
  442. );
  443. // Exported field: field_fgcf_fiche_organisme
  444. $fields['fgcf_fiche-field_fgcf_fiche_organisme'] = array(
  445. 'field_name' => 'field_fgcf_fiche_organisme',
  446. 'type_name' => 'fgcf_fiche',
  447. 'display_settings' => array(
  448. 'weight' => '6',
  449. 'parent' => 'group_fgcf_fiche_meta',
  450. 'label' => array(
  451. 'format' => 'above',
  452. ),
  453. 'teaser' => array(
  454. 'format' => 'default',
  455. 'exclude' => 0,
  456. ),
  457. 'full' => array(
  458. 'format' => 'default',
  459. 'exclude' => 0,
  460. ),
  461. '4' => array(
  462. 'format' => 'default',
  463. 'exclude' => 0,
  464. ),
  465. '2' => array(
  466. 'format' => 'default',
  467. 'exclude' => 0,
  468. ),
  469. '3' => array(
  470. 'format' => 'default',
  471. 'exclude' => 0,
  472. ),
  473. 'token' => array(
  474. 'format' => 'default',
  475. 'exclude' => 0,
  476. ),
  477. ),
  478. 'widget_active' => '1',
  479. 'type' => 'nodereference',
  480. 'required' => '1',
  481. 'multiple' => '1',
  482. 'module' => 'nodereference',
  483. 'active' => '1',
  484. 'referenceable_types' => array(
  485. 'fgcf_prestataire' => 'fgcf_prestataire',
  486. 'fgcf_thematique' => 0,
  487. 'fgcf_fiche' => 0,
  488. 'page' => 0,
  489. 'story' => 0,
  490. ),
  491. 'advanced_view' => '',
  492. 'advanced_view_args' => '',
  493. 'widget' => array(
  494. 'autocomplete_match' => 'contains',
  495. 'size' => 60,
  496. 'default_value' => array(
  497. '0' => array(
  498. 'nid' => '',
  499. ),
  500. ),
  501. 'default_value_php' => NULL,
  502. 'label' => 'Organisme de formation',
  503. 'weight' => '6',
  504. 'description' => '',
  505. 'type' => 'nodereference_select',
  506. 'module' => 'nodereference',
  507. ),
  508. );
  509. // Exported field: field_fgcf_fiche_public
  510. $fields['fgcf_fiche-field_fgcf_fiche_public'] = array(
  511. 'field_name' => 'field_fgcf_fiche_public',
  512. 'type_name' => 'fgcf_fiche',
  513. 'display_settings' => array(
  514. 'weight' => '14',
  515. 'parent' => 'group_fgcf_fiche_meta',
  516. 'label' => array(
  517. 'format' => 'above',
  518. ),
  519. 'teaser' => array(
  520. 'format' => 'default',
  521. 'exclude' => 0,
  522. ),
  523. 'full' => array(
  524. 'format' => 'default',
  525. 'exclude' => 0,
  526. ),
  527. '4' => array(
  528. 'format' => 'default',
  529. 'exclude' => 0,
  530. ),
  531. '2' => array(
  532. 'format' => 'default',
  533. 'exclude' => 0,
  534. ),
  535. '3' => array(
  536. 'format' => 'default',
  537. 'exclude' => 0,
  538. ),
  539. 'token' => array(
  540. 'format' => 'default',
  541. 'exclude' => 0,
  542. ),
  543. ),
  544. 'widget_active' => '1',
  545. 'type' => 'content_taxonomy',
  546. 'required' => '1',
  547. 'multiple' => '1',
  548. 'module' => 'content_taxonomy',
  549. 'active' => '1',
  550. 'save_term_node' => 0,
  551. 'vid' => '10',
  552. 'parent' => '0',
  553. 'parent_php_code' => '',
  554. 'depth' => '',
  555. 'widget' => array(
  556. 'new_terms' => 'insert',
  557. 'extra_parent' => '0',
  558. 'maxlength' => '255',
  559. 'active_tags' => NULL,
  560. 'default_value' => NULL,
  561. 'default_value_php' => NULL,
  562. 'label' => 'Public concerné',
  563. 'weight' => '14',
  564. 'description' => '',
  565. 'type' => 'content_taxonomy_autocomplete',
  566. 'module' => 'content_taxonomy_autocomplete',
  567. ),
  568. );
  569. // Exported field: field_fgcf_fiche_reference
  570. $fields['fgcf_fiche-field_fgcf_fiche_reference'] = array(
  571. 'field_name' => 'field_fgcf_fiche_reference',
  572. 'type_name' => 'fgcf_fiche',
  573. 'display_settings' => array(
  574. 'weight' => '-2',
  575. 'parent' => '',
  576. 'label' => array(
  577. 'format' => 'above',
  578. ),
  579. 'teaser' => array(
  580. 'format' => 'default',
  581. 'exclude' => 0,
  582. ),
  583. 'full' => array(
  584. 'format' => 'default',
  585. 'exclude' => 0,
  586. ),
  587. '4' => array(
  588. 'format' => 'default',
  589. 'exclude' => 0,
  590. ),
  591. '2' => array(
  592. 'format' => 'default',
  593. 'exclude' => 0,
  594. ),
  595. '3' => array(
  596. 'format' => 'default',
  597. 'exclude' => 0,
  598. ),
  599. 'token' => array(
  600. 'format' => 'default',
  601. 'exclude' => 0,
  602. ),
  603. ),
  604. 'widget_active' => '1',
  605. 'type' => 'text',
  606. 'required' => '1',
  607. 'multiple' => '0',
  608. 'module' => 'text',
  609. 'active' => '1',
  610. 'text_processing' => '0',
  611. 'max_length' => '10',
  612. 'allowed_values' => '',
  613. 'allowed_values_php' => '',
  614. 'widget' => array(
  615. 'rows' => 5,
  616. 'size' => '10',
  617. 'default_value' => array(
  618. '0' => array(
  619. 'value' => '',
  620. '_error_element' => 'default_value_widget][field_fgcf_fiche_reference][0][value',
  621. ),
  622. ),
  623. 'default_value_php' => NULL,
  624. 'label' => 'Référence',
  625. 'weight' => '-2',
  626. 'description' => '',
  627. 'type' => 'text_textfield',
  628. 'module' => 'text',
  629. ),
  630. );
  631. // Exported field: field_fgcf_fiche_sanction
  632. $fields['fgcf_fiche-field_fgcf_fiche_sanction'] = array(
  633. 'field_name' => 'field_fgcf_fiche_sanction',
  634. 'type_name' => 'fgcf_fiche',
  635. 'display_settings' => array(
  636. 'weight' => '13',
  637. 'parent' => 'group_fgcf_fiche_meta',
  638. 'label' => array(
  639. 'format' => 'above',
  640. ),
  641. 'teaser' => array(
  642. 'format' => 'default',
  643. 'exclude' => 0,
  644. ),
  645. 'full' => array(
  646. 'format' => 'default',
  647. 'exclude' => 0,
  648. ),
  649. '4' => array(
  650. 'format' => 'default',
  651. 'exclude' => 0,
  652. ),
  653. '2' => array(
  654. 'format' => 'default',
  655. 'exclude' => 0,
  656. ),
  657. '3' => array(
  658. 'format' => 'default',
  659. 'exclude' => 0,
  660. ),
  661. 'token' => array(
  662. 'format' => 'default',
  663. 'exclude' => 0,
  664. ),
  665. ),
  666. 'widget_active' => '1',
  667. 'type' => 'content_taxonomy',
  668. 'required' => '0',
  669. 'multiple' => '1',
  670. 'module' => 'content_taxonomy',
  671. 'active' => '1',
  672. 'save_term_node' => 0,
  673. 'vid' => '9',
  674. 'parent' => '0',
  675. 'parent_php_code' => '',
  676. 'depth' => '',
  677. 'widget' => array(
  678. 'new_terms' => 'insert',
  679. 'extra_parent' => '0',
  680. 'maxlength' => '255',
  681. 'active_tags' => NULL,
  682. 'default_value' => NULL,
  683. 'default_value_php' => NULL,
  684. 'label' => 'Sanction',
  685. 'weight' => '13',
  686. 'description' => '',
  687. 'type' => 'content_taxonomy_autocomplete',
  688. 'module' => 'content_taxonomy_autocomplete',
  689. ),
  690. );
  691. // Exported field: field_fgcf_fiche_supports
  692. $fields['fgcf_fiche-field_fgcf_fiche_supports'] = array(
  693. 'field_name' => 'field_fgcf_fiche_supports',
  694. 'type_name' => 'fgcf_fiche',
  695. 'display_settings' => array(
  696. 'weight' => '12',
  697. 'parent' => 'group_fgcf_fiche_meta',
  698. 'label' => array(
  699. 'format' => 'above',
  700. ),
  701. 'teaser' => array(
  702. 'format' => 'default',
  703. 'exclude' => 0,
  704. ),
  705. 'full' => array(
  706. 'format' => 'default',
  707. 'exclude' => 0,
  708. ),
  709. '4' => array(
  710. 'format' => 'default',
  711. 'exclude' => 0,
  712. ),
  713. '2' => array(
  714. 'format' => 'default',
  715. 'exclude' => 0,
  716. ),
  717. '3' => array(
  718. 'format' => 'default',
  719. 'exclude' => 0,
  720. ),
  721. 'token' => array(
  722. 'format' => 'default',
  723. 'exclude' => 0,
  724. ),
  725. ),
  726. 'widget_active' => '1',
  727. 'type' => 'content_taxonomy',
  728. 'required' => '0',
  729. 'multiple' => '1',
  730. 'module' => 'content_taxonomy',
  731. 'active' => '1',
  732. 'save_term_node' => 0,
  733. 'vid' => '8',
  734. 'parent' => '0',
  735. 'parent_php_code' => '',
  736. 'depth' => '',
  737. 'widget' => array(
  738. 'new_terms' => 'insert',
  739. 'extra_parent' => '0',
  740. 'maxlength' => '255',
  741. 'active_tags' => NULL,
  742. 'default_value' => NULL,
  743. 'default_value_php' => NULL,
  744. 'label' => 'Documents remis',
  745. 'weight' => '12',
  746. 'description' => '',
  747. 'type' => 'content_taxonomy_autocomplete',
  748. 'module' => 'content_taxonomy_autocomplete',
  749. ),
  750. );
  751. // Exported field: field_fgcf_prestataire_link
  752. $fields['fgcf_prestataire-field_fgcf_prestataire_link'] = array(
  753. 'field_name' => 'field_fgcf_prestataire_link',
  754. 'type_name' => 'fgcf_prestataire',
  755. 'display_settings' => array(
  756. 'weight' => 0,
  757. 'parent' => 'group_prestataire_branding',
  758. 'label' => array(
  759. 'format' => 'hidden',
  760. ),
  761. 'teaser' => array(
  762. 'format' => 'default',
  763. 'exclude' => 0,
  764. ),
  765. 'full' => array(
  766. 'format' => 'default',
  767. 'exclude' => 0,
  768. ),
  769. '4' => array(
  770. 'format' => 'default',
  771. 'exclude' => 0,
  772. ),
  773. '2' => array(
  774. 'format' => 'default',
  775. 'exclude' => 0,
  776. ),
  777. '3' => array(
  778. 'format' => 'default',
  779. 'exclude' => 0,
  780. ),
  781. 'token' => array(
  782. 'format' => 'default',
  783. 'exclude' => 0,
  784. ),
  785. ),
  786. 'widget_active' => '1',
  787. 'type' => 'link',
  788. 'required' => '0',
  789. 'multiple' => '0',
  790. 'module' => 'link',
  791. 'active' => '1',
  792. 'attributes' => array(
  793. 'target' => '_blank',
  794. 'rel' => 'nofollow',
  795. 'class' => '',
  796. 'title' => '[title]',
  797. ),
  798. 'display' => array(
  799. 'url_cutoff' => '80',
  800. ),
  801. 'url' => 0,
  802. 'title' => 'optional',
  803. 'title_value' => 'Site de [title]',
  804. 'enable_tokens' => 1,
  805. 'validate_url' => 1,
  806. 'widget' => array(
  807. 'default_value' => array(
  808. '0' => array(
  809. 'title' => '',
  810. 'url' => '',
  811. ),
  812. ),
  813. 'default_value_php' => NULL,
  814. 'label' => 'Site',
  815. 'weight' => 0,
  816. 'description' => '',
  817. 'type' => 'link',
  818. 'module' => 'link',
  819. ),
  820. );
  821. // Exported field: field_fgcf_prestataire_logo
  822. $fields['fgcf_prestataire-field_fgcf_prestataire_logo'] = array(
  823. 'field_name' => 'field_fgcf_prestataire_logo',
  824. 'type_name' => 'fgcf_prestataire',
  825. 'display_settings' => array(
  826. 'weight' => '-1',
  827. 'parent' => 'group_prestataire_branding',
  828. 'label' => array(
  829. 'format' => 'hidden',
  830. ),
  831. 'teaser' => array(
  832. 'format' => 'prestataire_logo_liste_linked',
  833. 'exclude' => 0,
  834. ),
  835. 'full' => array(
  836. 'format' => 'prestataire_logo_full_default',
  837. 'exclude' => 0,
  838. ),
  839. '4' => array(
  840. 'format' => 'image_plain',
  841. 'exclude' => 0,
  842. ),
  843. '2' => array(
  844. 'format' => 'image_plain',
  845. 'exclude' => 0,
  846. ),
  847. '3' => array(
  848. 'format' => 'image_plain',
  849. 'exclude' => 0,
  850. ),
  851. 'token' => array(
  852. 'format' => 'image_plain',
  853. 'exclude' => 0,
  854. ),
  855. ),
  856. 'widget_active' => '1',
  857. 'type' => 'filefield',
  858. 'required' => '0',
  859. 'multiple' => '0',
  860. 'module' => 'filefield',
  861. 'active' => '1',
  862. 'list_field' => '0',
  863. 'list_default' => 1,
  864. 'description_field' => '0',
  865. 'widget' => array(
  866. 'file_extensions' => 'png gif jpg jpeg',
  867. 'file_path' => '',
  868. 'progress_indicator' => 'bar',
  869. 'max_filesize_per_file' => '1M',
  870. 'max_filesize_per_node' => '',
  871. 'max_resolution' => '640x480',
  872. 'min_resolution' => 0,
  873. 'alt' => '',
  874. 'custom_alt' => 0,
  875. 'title' => '',
  876. 'custom_title' => 0,
  877. 'title_type' => 'textfield',
  878. 'default_image' => NULL,
  879. 'use_default_image' => 0,
  880. 'label' => 'Logo',
  881. 'weight' => '-1',
  882. 'description' => '',
  883. 'type' => 'imagefield_widget',
  884. 'module' => 'imagefield',
  885. ),
  886. );
  887. // Exported field: field_fgcf_thematique_logo
  888. $fields['fgcf_thematique-field_fgcf_thematique_logo'] = array(
  889. 'field_name' => 'field_fgcf_thematique_logo',
  890. 'type_name' => 'fgcf_thematique',
  891. 'display_settings' => array(
  892. 'weight' => '-3',
  893. 'parent' => '',
  894. 'label' => array(
  895. 'format' => 'hidden',
  896. ),
  897. 'teaser' => array(
  898. 'format' => 'image_plain',
  899. 'exclude' => 0,
  900. ),
  901. 'full' => array(
  902. 'format' => 'image_plain',
  903. 'exclude' => 0,
  904. ),
  905. '4' => array(
  906. 'format' => 'image_plain',
  907. 'exclude' => 0,
  908. ),
  909. '2' => array(
  910. 'format' => 'image_plain',
  911. 'exclude' => 0,
  912. ),
  913. '3' => array(
  914. 'format' => 'image_plain',
  915. 'exclude' => 0,
  916. ),
  917. 'token' => array(
  918. 'format' => 'image_plain',
  919. 'exclude' => 0,
  920. ),
  921. ),
  922. 'widget_active' => '1',
  923. 'type' => 'filefield',
  924. 'required' => '1',
  925. 'multiple' => '0',
  926. 'module' => 'filefield',
  927. 'active' => '1',
  928. 'list_field' => '0',
  929. 'list_default' => 1,
  930. 'description_field' => '0',
  931. 'widget' => array(
  932. 'file_extensions' => 'png gif jpg jpeg',
  933. 'file_path' => '',
  934. 'progress_indicator' => 'bar',
  935. 'max_filesize_per_file' => '',
  936. 'max_filesize_per_node' => '',
  937. 'max_resolution' => '60x60',
  938. 'min_resolution' => '0',
  939. 'alt' => '',
  940. 'custom_alt' => 0,
  941. 'title' => '',
  942. 'custom_title' => 0,
  943. 'title_type' => 'textfield',
  944. 'default_image' => NULL,
  945. 'use_default_image' => 0,
  946. 'label' => 'Icône',
  947. 'weight' => '-3',
  948. 'description' => '',
  949. 'type' => 'imagefield_widget',
  950. 'module' => 'imagefield',
  951. ),
  952. );
  953. // Translatables
  954. array(
  955. t('Contenu'),
  956. t('Documents remis'),
  957. t('Durée'),
  958. t('Eligibilité DIF'),
  959. t('Icône'),
  960. t('Logo'),
  961. t('Longueur'),
  962. t('Modalité'),
  963. t('Objectif'),
  964. t('Organisme de formation'),
  965. t('Public concerné'),
  966. t('Référence'),
  967. t('Sanction'),
  968. t('Site'),
  969. t('Supports de cours'),
  970. );
  971. return $fields;
  972. }