fgcf.features.content.inc 23 KB

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