fgcf.features.content.inc 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055
  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 pédagogiques',
  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 en heures',
  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' => 'Durée en jours',
  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é de formation',
  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' => 'Délivrance',
  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' => 'fgcf',
  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_color
  888. $fields['fgcf_thematique-field_fgcf_thematique_color'] = array(
  889. 'field_name' => 'field_fgcf_thematique_color',
  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' => 'hidden',
  899. 'exclude' => 0,
  900. ),
  901. 'full' => array(
  902. 'format' => 'markup',
  903. 'exclude' => 0,
  904. ),
  905. '5' => array(
  906. 'format' => 'default',
  907. 'exclude' => 0,
  908. ),
  909. '4' => array(
  910. 'format' => 'default',
  911. 'exclude' => 0,
  912. ),
  913. '2' => array(
  914. 'format' => 'default',
  915. 'exclude' => 0,
  916. ),
  917. '3' => array(
  918. 'format' => 'default',
  919. 'exclude' => 0,
  920. ),
  921. 'ad list' => array(
  922. 'format' => 'default',
  923. 'exclude' => 0,
  924. ),
  925. 'token' => array(
  926. 'format' => 'default',
  927. 'exclude' => 0,
  928. ),
  929. ),
  930. 'widget_active' => '1',
  931. 'type' => 'colorpicker_cck_textfield',
  932. 'required' => '0',
  933. 'multiple' => '0',
  934. 'module' => 'colorpicker_cck',
  935. 'active' => '1',
  936. 'widget' => array(
  937. 'default_value' => array(
  938. '0' => array(
  939. 'value' => '',
  940. '_error_element' => 'default_value_widget][field_fgcf_thematique_color][0][value',
  941. ),
  942. ),
  943. 'default_value_php' => NULL,
  944. 'label' => 'Couleur bandeau',
  945. 'weight' => '-3',
  946. 'description' => 'Cette couleur sera appliquée sur les contenus \'Fiche de formation\' de ce thème.',
  947. 'type' => 'colorpicker_cck',
  948. 'module' => 'colorpicker_cck',
  949. ),
  950. );
  951. // Exported field: field_fgcf_thematique_logo
  952. $fields['fgcf_thematique-field_fgcf_thematique_logo'] = array(
  953. 'field_name' => 'field_fgcf_thematique_logo',
  954. 'type_name' => 'fgcf_thematique',
  955. 'display_settings' => array(
  956. 'weight' => '-3',
  957. 'parent' => '',
  958. 'label' => array(
  959. 'format' => 'hidden',
  960. ),
  961. 'teaser' => array(
  962. 'format' => 'image_plain',
  963. 'exclude' => 0,
  964. ),
  965. 'full' => array(
  966. 'format' => 'fgcf_theme_logo_full_default',
  967. 'exclude' => 0,
  968. ),
  969. '4' => array(
  970. 'format' => 'image_plain',
  971. 'exclude' => 0,
  972. ),
  973. '2' => array(
  974. 'format' => 'image_plain',
  975. 'exclude' => 0,
  976. ),
  977. '3' => array(
  978. 'format' => 'image_plain',
  979. 'exclude' => 0,
  980. ),
  981. 'token' => array(
  982. 'format' => 'image_plain',
  983. 'exclude' => 0,
  984. ),
  985. ),
  986. 'widget_active' => '1',
  987. 'type' => 'filefield',
  988. 'required' => '1',
  989. 'multiple' => '0',
  990. 'module' => 'filefield',
  991. 'active' => '1',
  992. 'list_field' => '0',
  993. 'list_default' => 1,
  994. 'description_field' => '0',
  995. 'widget' => array(
  996. 'file_extensions' => 'png gif jpg jpeg',
  997. 'file_path' => 'fgcf',
  998. 'progress_indicator' => 'bar',
  999. 'max_filesize_per_file' => '',
  1000. 'max_filesize_per_node' => '',
  1001. 'max_resolution' => '120x120',
  1002. 'min_resolution' => '0',
  1003. 'alt' => '',
  1004. 'custom_alt' => 0,
  1005. 'title' => '',
  1006. 'custom_title' => 0,
  1007. 'title_type' => 'textfield',
  1008. 'default_image' => NULL,
  1009. 'use_default_image' => 0,
  1010. 'label' => 'Icône',
  1011. 'weight' => '-3',
  1012. 'description' => '',
  1013. 'type' => 'imagefield_widget',
  1014. 'module' => 'imagefield',
  1015. ),
  1016. );
  1017. // Translatables
  1018. // Included for use with string extractors like potx.
  1019. t('Contenu');
  1020. t('Couleur bandeau');
  1021. t('Documents remis');
  1022. t('Durée en heures');
  1023. t('Durée en jours');
  1024. t('Délivrance');
  1025. t('Eligibilité DIF');
  1026. t('Icône');
  1027. t('Logo');
  1028. t('Modalité de formation');
  1029. t('Objectif');
  1030. t('Organisme de formation');
  1031. t('Public concerné');
  1032. t('Référence');
  1033. t('Site');
  1034. t('Supports pédagogiques');
  1035. return $fields;
  1036. }