fgcf.features.content.inc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989
  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' => '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' => 'Format 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[] = 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[] = 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[] = 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. 'allowed_values_php' => '',
  365. 'widget' => array(
  366. 'default_value' => array(
  367. '0' => array(
  368. 'value' => NULL,
  369. ),
  370. ),
  371. 'default_value_php' => NULL,
  372. 'label' => 'Modalité',
  373. 'weight' => '7',
  374. 'description' => '',
  375. 'type' => 'optionwidgets_buttons',
  376. 'module' => 'optionwidgets',
  377. ),
  378. );
  379. // Exported field: field_fgcf_fiche_objectif
  380. $fields[] = array(
  381. 'field_name' => 'field_fgcf_fiche_objectif',
  382. 'type_name' => 'fgcf_fiche',
  383. 'display_settings' => array(
  384. 'weight' => 0,
  385. 'parent' => '',
  386. 'label' => array(
  387. 'format' => 'above',
  388. ),
  389. 'teaser' => array(
  390. 'format' => 'default',
  391. 'exclude' => 0,
  392. ),
  393. 'full' => array(
  394. 'format' => 'default',
  395. 'exclude' => 0,
  396. ),
  397. '4' => array(
  398. 'format' => 'default',
  399. 'exclude' => 0,
  400. ),
  401. '2' => array(
  402. 'format' => 'default',
  403. 'exclude' => 0,
  404. ),
  405. '3' => array(
  406. 'format' => 'default',
  407. 'exclude' => 0,
  408. ),
  409. 'token' => array(
  410. 'format' => 'default',
  411. 'exclude' => 0,
  412. ),
  413. ),
  414. 'widget_active' => '1',
  415. 'type' => 'text',
  416. 'required' => '1',
  417. 'multiple' => '0',
  418. 'module' => 'text',
  419. 'active' => '1',
  420. 'text_processing' => '1',
  421. 'max_length' => '1000',
  422. 'allowed_values' => '',
  423. 'allowed_values_php' => '',
  424. 'widget' => array(
  425. 'rows' => '3',
  426. 'size' => 60,
  427. 'default_value' => array(
  428. '0' => array(
  429. 'value' => '',
  430. 'format' => '1',
  431. '_error_element' => 'default_value_widget][field_fgcf_fiche_objectif][0][value',
  432. ),
  433. ),
  434. 'default_value_php' => NULL,
  435. 'label' => 'Objectif',
  436. 'weight' => 0,
  437. '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.',
  438. 'type' => 'text_textarea',
  439. 'module' => 'text',
  440. ),
  441. );
  442. // Exported field: field_fgcf_fiche_organisme
  443. $fields[] = array(
  444. 'field_name' => 'field_fgcf_fiche_organisme',
  445. 'type_name' => 'fgcf_fiche',
  446. 'display_settings' => array(
  447. 'weight' => '6',
  448. 'parent' => 'group_fgcf_fiche_meta',
  449. 'label' => array(
  450. 'format' => 'above',
  451. ),
  452. 'teaser' => array(
  453. 'format' => 'default',
  454. 'exclude' => 0,
  455. ),
  456. 'full' => array(
  457. 'format' => 'default',
  458. 'exclude' => 0,
  459. ),
  460. '4' => array(
  461. 'format' => 'default',
  462. 'exclude' => 0,
  463. ),
  464. '2' => array(
  465. 'format' => 'default',
  466. 'exclude' => 0,
  467. ),
  468. '3' => array(
  469. 'format' => 'default',
  470. 'exclude' => 0,
  471. ),
  472. 'token' => array(
  473. 'format' => 'default',
  474. 'exclude' => 0,
  475. ),
  476. ),
  477. 'widget_active' => '1',
  478. 'type' => 'nodereference',
  479. 'required' => '1',
  480. 'multiple' => '1',
  481. 'module' => 'nodereference',
  482. 'active' => '1',
  483. 'referenceable_types' => array(
  484. 'fgcf_prestataire' => 'fgcf_prestataire',
  485. 'fgcf_thematique' => 0,
  486. 'fgcf_fiche' => 0,
  487. 'page' => 0,
  488. 'story' => 0,
  489. ),
  490. 'advanced_view' => '',
  491. 'advanced_view_args' => '',
  492. 'widget' => array(
  493. 'autocomplete_match' => 'contains',
  494. 'size' => 60,
  495. 'default_value' => array(
  496. '0' => array(
  497. 'nid' => '',
  498. ),
  499. ),
  500. 'default_value_php' => NULL,
  501. 'label' => 'Organisme de formation',
  502. 'weight' => '6',
  503. 'description' => '',
  504. 'type' => 'nodereference_select',
  505. 'module' => 'nodereference',
  506. ),
  507. );
  508. // Exported field: field_fgcf_fiche_public
  509. $fields[] = array(
  510. 'field_name' => 'field_fgcf_fiche_public',
  511. 'type_name' => 'fgcf_fiche',
  512. 'display_settings' => array(
  513. 'weight' => '14',
  514. 'parent' => 'group_fgcf_fiche_meta',
  515. 'label' => array(
  516. 'format' => 'above',
  517. ),
  518. 'teaser' => array(
  519. 'format' => 'default',
  520. 'exclude' => 0,
  521. ),
  522. 'full' => array(
  523. 'format' => 'default',
  524. 'exclude' => 0,
  525. ),
  526. '4' => array(
  527. 'format' => 'default',
  528. 'exclude' => 0,
  529. ),
  530. '2' => array(
  531. 'format' => 'default',
  532. 'exclude' => 0,
  533. ),
  534. '3' => array(
  535. 'format' => 'default',
  536. 'exclude' => 0,
  537. ),
  538. 'token' => array(
  539. 'format' => 'default',
  540. 'exclude' => 0,
  541. ),
  542. ),
  543. 'widget_active' => '1',
  544. 'type' => 'content_taxonomy',
  545. 'required' => '1',
  546. 'multiple' => '1',
  547. 'module' => 'content_taxonomy',
  548. 'active' => '1',
  549. 'save_term_node' => 0,
  550. 'vid' => '10',
  551. 'parent' => '0',
  552. 'parent_php_code' => '',
  553. 'depth' => '',
  554. 'widget' => array(
  555. 'new_terms' => 'insert',
  556. 'extra_parent' => '0',
  557. 'maxlength' => '255',
  558. 'active_tags' => NULL,
  559. 'default_value' => NULL,
  560. 'default_value_php' => NULL,
  561. 'label' => 'Public visé',
  562. 'weight' => '14',
  563. 'description' => '',
  564. 'type' => 'content_taxonomy_autocomplete',
  565. 'module' => 'content_taxonomy_autocomplete',
  566. ),
  567. );
  568. // Exported field: field_fgcf_fiche_reference
  569. $fields[] = array(
  570. 'field_name' => 'field_fgcf_fiche_reference',
  571. 'type_name' => 'fgcf_fiche',
  572. 'display_settings' => array(
  573. 'weight' => '-2',
  574. 'parent' => '',
  575. 'label' => array(
  576. 'format' => 'above',
  577. ),
  578. 'teaser' => array(
  579. 'format' => 'default',
  580. 'exclude' => 0,
  581. ),
  582. 'full' => array(
  583. 'format' => 'default',
  584. 'exclude' => 0,
  585. ),
  586. '4' => array(
  587. 'format' => 'default',
  588. 'exclude' => 0,
  589. ),
  590. '2' => array(
  591. 'format' => 'default',
  592. 'exclude' => 0,
  593. ),
  594. '3' => array(
  595. 'format' => 'default',
  596. 'exclude' => 0,
  597. ),
  598. 'token' => array(
  599. 'format' => 'default',
  600. 'exclude' => 0,
  601. ),
  602. ),
  603. 'widget_active' => '1',
  604. 'type' => 'text',
  605. 'required' => '1',
  606. 'multiple' => '0',
  607. 'module' => 'text',
  608. 'active' => '1',
  609. 'text_processing' => '0',
  610. 'max_length' => '10',
  611. 'allowed_values' => '',
  612. 'allowed_values_php' => '',
  613. 'widget' => array(
  614. 'rows' => 5,
  615. 'size' => '10',
  616. 'default_value' => array(
  617. '0' => array(
  618. 'value' => '',
  619. '_error_element' => 'default_value_widget][field_fgcf_fiche_reference][0][value',
  620. ),
  621. ),
  622. 'default_value_php' => NULL,
  623. 'label' => 'Référence',
  624. 'weight' => '-2',
  625. 'description' => '',
  626. 'type' => 'text_textfield',
  627. 'module' => 'text',
  628. ),
  629. );
  630. // Exported field: field_fgcf_fiche_sanction
  631. $fields[] = array(
  632. 'field_name' => 'field_fgcf_fiche_sanction',
  633. 'type_name' => 'fgcf_fiche',
  634. 'display_settings' => array(
  635. 'weight' => '13',
  636. 'parent' => 'group_fgcf_fiche_meta',
  637. 'label' => array(
  638. 'format' => 'above',
  639. ),
  640. 'teaser' => array(
  641. 'format' => 'default',
  642. 'exclude' => 0,
  643. ),
  644. 'full' => array(
  645. 'format' => 'default',
  646. 'exclude' => 0,
  647. ),
  648. '4' => array(
  649. 'format' => 'default',
  650. 'exclude' => 0,
  651. ),
  652. '2' => array(
  653. 'format' => 'default',
  654. 'exclude' => 0,
  655. ),
  656. '3' => array(
  657. 'format' => 'default',
  658. 'exclude' => 0,
  659. ),
  660. 'token' => array(
  661. 'format' => 'default',
  662. 'exclude' => 0,
  663. ),
  664. ),
  665. 'widget_active' => '1',
  666. 'type' => 'content_taxonomy',
  667. 'required' => '0',
  668. 'multiple' => '1',
  669. 'module' => 'content_taxonomy',
  670. 'active' => '1',
  671. 'save_term_node' => 0,
  672. 'vid' => '9',
  673. 'parent' => '0',
  674. 'parent_php_code' => '',
  675. 'depth' => '',
  676. 'widget' => array(
  677. 'new_terms' => 'insert',
  678. 'extra_parent' => '0',
  679. 'maxlength' => '255',
  680. 'active_tags' => NULL,
  681. 'default_value' => NULL,
  682. 'default_value_php' => NULL,
  683. 'label' => 'Sanction',
  684. 'weight' => '13',
  685. 'description' => '',
  686. 'type' => 'content_taxonomy_autocomplete',
  687. 'module' => 'content_taxonomy_autocomplete',
  688. ),
  689. );
  690. // Exported field: field_fgcf_fiche_supports
  691. $fields[] = array(
  692. 'field_name' => 'field_fgcf_fiche_supports',
  693. 'type_name' => 'fgcf_fiche',
  694. 'display_settings' => array(
  695. 'weight' => '12',
  696. 'parent' => 'group_fgcf_fiche_meta',
  697. 'label' => array(
  698. 'format' => 'above',
  699. ),
  700. 'teaser' => array(
  701. 'format' => 'default',
  702. 'exclude' => 0,
  703. ),
  704. 'full' => array(
  705. 'format' => 'default',
  706. 'exclude' => 0,
  707. ),
  708. '4' => array(
  709. 'format' => 'default',
  710. 'exclude' => 0,
  711. ),
  712. '2' => array(
  713. 'format' => 'default',
  714. 'exclude' => 0,
  715. ),
  716. '3' => array(
  717. 'format' => 'default',
  718. 'exclude' => 0,
  719. ),
  720. 'token' => array(
  721. 'format' => 'default',
  722. 'exclude' => 0,
  723. ),
  724. ),
  725. 'widget_active' => '1',
  726. 'type' => 'content_taxonomy',
  727. 'required' => '0',
  728. 'multiple' => '1',
  729. 'module' => 'content_taxonomy',
  730. 'active' => '1',
  731. 'save_term_node' => 0,
  732. 'vid' => '8',
  733. 'parent' => '0',
  734. 'parent_php_code' => '',
  735. 'depth' => '',
  736. 'widget' => array(
  737. 'new_terms' => 'insert',
  738. 'extra_parent' => '0',
  739. 'maxlength' => '255',
  740. 'active_tags' => NULL,
  741. 'default_value' => NULL,
  742. 'default_value_php' => NULL,
  743. 'label' => 'Supports remis',
  744. 'weight' => '12',
  745. 'description' => '',
  746. 'type' => 'content_taxonomy_autocomplete',
  747. 'module' => 'content_taxonomy_autocomplete',
  748. ),
  749. );
  750. // Exported field: field_fgcf_prestataire_link
  751. $fields[] = array(
  752. 'field_name' => 'field_fgcf_prestataire_link',
  753. 'type_name' => 'fgcf_prestataire',
  754. 'display_settings' => array(
  755. 'weight' => '1',
  756. 'parent' => 'group_prestataire_branding',
  757. 'label' => array(
  758. 'format' => 'hidden',
  759. ),
  760. 'teaser' => array(
  761. 'format' => 'default',
  762. 'exclude' => 0,
  763. ),
  764. 'full' => array(
  765. 'format' => 'default',
  766. 'exclude' => 0,
  767. ),
  768. '4' => array(
  769. 'format' => 'default',
  770. 'exclude' => 0,
  771. ),
  772. '2' => array(
  773. 'format' => 'default',
  774. 'exclude' => 0,
  775. ),
  776. '3' => array(
  777. 'format' => 'default',
  778. 'exclude' => 0,
  779. ),
  780. 'token' => array(
  781. 'format' => 'default',
  782. 'exclude' => 0,
  783. ),
  784. ),
  785. 'widget_active' => '1',
  786. 'type' => 'link',
  787. 'required' => '0',
  788. 'multiple' => '0',
  789. 'module' => 'link',
  790. 'active' => '1',
  791. 'attributes' => array(
  792. 'target' => '_blank',
  793. 'rel' => 'nofollow',
  794. 'class' => '',
  795. 'title' => '[title]',
  796. ),
  797. 'display' => array(
  798. 'url_cutoff' => '80',
  799. ),
  800. 'url' => 0,
  801. 'title' => 'optional',
  802. 'title_value' => 'Site de [title]',
  803. 'enable_tokens' => 1,
  804. 'validate_url' => 1,
  805. 'widget' => array(
  806. 'default_value' => array(
  807. '0' => array(
  808. 'title' => '',
  809. 'url' => '',
  810. ),
  811. ),
  812. 'default_value_php' => NULL,
  813. 'label' => 'Site',
  814. 'weight' => '1',
  815. 'description' => '',
  816. 'type' => 'link',
  817. 'module' => 'link',
  818. ),
  819. );
  820. // Exported field: field_fgcf_prestataire_logo
  821. $fields[] = array(
  822. 'field_name' => 'field_fgcf_prestataire_logo',
  823. 'type_name' => 'fgcf_prestataire',
  824. 'display_settings' => array(
  825. 'weight' => 0,
  826. 'parent' => 'group_prestataire_branding',
  827. 'label' => array(
  828. 'format' => 'hidden',
  829. ),
  830. 'teaser' => array(
  831. 'format' => 'prestataire_logo_liste_linked',
  832. 'exclude' => 0,
  833. ),
  834. 'full' => array(
  835. 'format' => 'prestataire_logo_full_default',
  836. 'exclude' => 0,
  837. ),
  838. '4' => array(
  839. 'format' => 'image_plain',
  840. 'exclude' => 0,
  841. ),
  842. '2' => array(
  843. 'format' => 'image_plain',
  844. 'exclude' => 0,
  845. ),
  846. '3' => array(
  847. 'format' => 'image_plain',
  848. 'exclude' => 0,
  849. ),
  850. 'token' => array(
  851. 'format' => 'image_plain',
  852. 'exclude' => 0,
  853. ),
  854. ),
  855. 'widget_active' => '1',
  856. 'type' => 'filefield',
  857. 'required' => '0',
  858. 'multiple' => '0',
  859. 'module' => 'filefield',
  860. 'active' => '1',
  861. 'list_field' => '0',
  862. 'list_default' => 1,
  863. 'description_field' => '0',
  864. 'widget' => array(
  865. 'file_extensions' => 'png gif jpg jpeg',
  866. 'file_path' => '',
  867. 'progress_indicator' => 'bar',
  868. 'max_filesize_per_file' => '1M',
  869. 'max_filesize_per_node' => '',
  870. 'max_resolution' => '640x480',
  871. 'min_resolution' => 0,
  872. 'alt' => '',
  873. 'custom_alt' => 0,
  874. 'title' => '',
  875. 'custom_title' => 0,
  876. 'title_type' => 'textfield',
  877. 'default_image' => NULL,
  878. 'use_default_image' => 0,
  879. 'label' => 'Logo',
  880. 'weight' => 0,
  881. 'description' => '',
  882. 'type' => 'imagefield_widget',
  883. 'module' => 'imagefield',
  884. ),
  885. );
  886. // Exported field: field_fgcf_thematique_logo
  887. $fields[] = array(
  888. 'field_name' => 'field_fgcf_thematique_logo',
  889. 'type_name' => 'fgcf_thematique',
  890. 'display_settings' => array(
  891. 'weight' => '-3',
  892. 'parent' => '',
  893. 'label' => array(
  894. 'format' => 'hidden',
  895. ),
  896. 'teaser' => array(
  897. 'format' => 'image_plain',
  898. 'exclude' => 0,
  899. ),
  900. 'full' => array(
  901. 'format' => 'image_plain',
  902. 'exclude' => 0,
  903. ),
  904. '4' => array(
  905. 'format' => 'image_plain',
  906. 'exclude' => 0,
  907. ),
  908. '2' => array(
  909. 'format' => 'image_plain',
  910. 'exclude' => 0,
  911. ),
  912. '3' => array(
  913. 'format' => 'image_plain',
  914. 'exclude' => 0,
  915. ),
  916. 'token' => array(
  917. 'format' => 'image_plain',
  918. 'exclude' => 0,
  919. ),
  920. ),
  921. 'widget_active' => '1',
  922. 'type' => 'filefield',
  923. 'required' => '1',
  924. 'multiple' => '0',
  925. 'module' => 'filefield',
  926. 'active' => '1',
  927. 'list_field' => '0',
  928. 'list_default' => 1,
  929. 'description_field' => '0',
  930. 'widget' => array(
  931. 'file_extensions' => 'png gif jpg jpeg',
  932. 'file_path' => '',
  933. 'progress_indicator' => 'bar',
  934. 'max_filesize_per_file' => '',
  935. 'max_filesize_per_node' => '',
  936. 'max_resolution' => '60x60',
  937. 'min_resolution' => '0',
  938. 'alt' => '',
  939. 'custom_alt' => 0,
  940. 'title' => '',
  941. 'custom_title' => 0,
  942. 'title_type' => 'textfield',
  943. 'default_image' => NULL,
  944. 'use_default_image' => 0,
  945. 'label' => 'Icône',
  946. 'weight' => '-3',
  947. 'description' => '',
  948. 'type' => 'imagefield_widget',
  949. 'module' => 'imagefield',
  950. ),
  951. );
  952. // Translatables
  953. array(
  954. t('Contenu'),
  955. t('Durée'),
  956. t('Eligibilité DIF'),
  957. t('Format de cours'),
  958. t('Icône'),
  959. t('Logo'),
  960. t('Longueur'),
  961. t('Modalité'),
  962. t('Objectif'),
  963. t('Organisme de formation'),
  964. t('Public visé'),
  965. t('Référence'),
  966. t('Sanction'),
  967. t('Site'),
  968. t('Supports remis'),
  969. );
  970. return $fields;
  971. }