fgcf.features.content.inc 24 KB

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