chapitre.features.field_instance.inc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. <?php
  2. /**
  3. * @file
  4. * chapitre.features.field_instance.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_instances().
  8. */
  9. function chapitre_field_default_field_instances() {
  10. $field_instances = array();
  11. // Exported field_instance: 'field_collection_item-field_partie-field_description'
  12. $field_instances['field_collection_item-field_partie-field_description'] = array(
  13. 'bundle' => 'field_partie',
  14. 'default_value' => NULL,
  15. 'deleted' => 0,
  16. 'description' => '',
  17. 'display' => array(
  18. 'default' => array(
  19. 'label' => 'hidden',
  20. 'module' => 'text',
  21. 'settings' => array(),
  22. 'type' => 'text_default',
  23. 'weight' => 3,
  24. ),
  25. 'full' => array(
  26. 'label' => 'hidden',
  27. 'module' => 'text',
  28. 'settings' => array(),
  29. 'type' => 'text_default',
  30. 'weight' => 3,
  31. ),
  32. 'token' => array(
  33. 'label' => 'hidden',
  34. 'settings' => array(),
  35. 'type' => 'hidden',
  36. 'weight' => 3,
  37. ),
  38. ),
  39. 'entity_type' => 'field_collection_item',
  40. 'field_name' => 'field_description',
  41. 'label' => 'Description',
  42. 'required' => 0,
  43. 'settings' => array(
  44. 'linkit' => array(
  45. 'button_text' => 'Recherche',
  46. 'enable' => 0,
  47. 'profile' => '',
  48. ),
  49. 'text_processing' => 0,
  50. 'user_register_form' => FALSE,
  51. ),
  52. 'widget' => array(
  53. 'active' => 1,
  54. 'module' => 'text',
  55. 'settings' => array(
  56. 'size' => 60,
  57. ),
  58. 'type' => 'text_textfield',
  59. 'weight' => 3,
  60. ),
  61. );
  62. // Exported field_instance: 'field_collection_item-field_partie-field_sous_titre'
  63. $field_instances['field_collection_item-field_partie-field_sous_titre'] = array(
  64. 'bundle' => 'field_partie',
  65. 'default_value' => NULL,
  66. 'deleted' => 0,
  67. 'description' => '',
  68. 'display' => array(
  69. 'default' => array(
  70. 'label' => 'hidden',
  71. 'module' => 'text',
  72. 'settings' => array(),
  73. 'type' => 'text_default',
  74. 'weight' => 2,
  75. ),
  76. 'full' => array(
  77. 'label' => 'hidden',
  78. 'module' => 'text',
  79. 'settings' => array(),
  80. 'type' => 'text_default',
  81. 'weight' => 2,
  82. ),
  83. 'token' => array(
  84. 'label' => 'hidden',
  85. 'settings' => array(),
  86. 'type' => 'hidden',
  87. 'weight' => 2,
  88. ),
  89. ),
  90. 'entity_type' => 'field_collection_item',
  91. 'field_name' => 'field_sous_titre',
  92. 'label' => 'Sous titre',
  93. 'required' => 0,
  94. 'settings' => array(
  95. 'linkit' => array(
  96. 'button_text' => 'Recherche',
  97. 'enable' => 0,
  98. 'profile' => '',
  99. ),
  100. 'text_processing' => 0,
  101. 'user_register_form' => FALSE,
  102. ),
  103. 'widget' => array(
  104. 'active' => 1,
  105. 'module' => 'text',
  106. 'settings' => array(
  107. 'size' => 60,
  108. ),
  109. 'type' => 'text_textfield',
  110. 'weight' => 2,
  111. ),
  112. );
  113. // Exported field_instance: 'field_collection_item-field_partie-field_titre'
  114. $field_instances['field_collection_item-field_partie-field_titre'] = array(
  115. 'bundle' => 'field_partie',
  116. 'default_value' => NULL,
  117. 'deleted' => 0,
  118. 'description' => '',
  119. 'display' => array(
  120. 'default' => array(
  121. 'label' => 'hidden',
  122. 'module' => 'text',
  123. 'settings' => array(),
  124. 'type' => 'text_default',
  125. 'weight' => 1,
  126. ),
  127. 'full' => array(
  128. 'label' => 'hidden',
  129. 'module' => 'text',
  130. 'settings' => array(),
  131. 'type' => 'text_default',
  132. 'weight' => 1,
  133. ),
  134. 'token' => array(
  135. 'label' => 'hidden',
  136. 'settings' => array(),
  137. 'type' => 'hidden',
  138. 'weight' => 1,
  139. ),
  140. ),
  141. 'entity_type' => 'field_collection_item',
  142. 'field_name' => 'field_titre',
  143. 'label' => 'Titre',
  144. 'required' => 0,
  145. 'settings' => array(
  146. 'linkit' => array(
  147. 'button_text' => 'Recherche',
  148. 'enable' => 0,
  149. 'profile' => '',
  150. ),
  151. 'text_processing' => 0,
  152. 'user_register_form' => FALSE,
  153. ),
  154. 'widget' => array(
  155. 'active' => 1,
  156. 'module' => 'text',
  157. 'settings' => array(
  158. 'size' => 60,
  159. ),
  160. 'type' => 'text_textfield',
  161. 'weight' => 1,
  162. ),
  163. );
  164. // Exported field_instance: 'field_collection_item-field_partie-field_video'
  165. $field_instances['field_collection_item-field_partie-field_video'] = array(
  166. 'bundle' => 'field_partie',
  167. 'default_value' => NULL,
  168. 'deleted' => 0,
  169. 'description' => '',
  170. 'display' => array(
  171. 'default' => array(
  172. 'label' => 'hidden',
  173. 'module' => 'video_embed_field',
  174. 'settings' => array(
  175. 'description' => 1,
  176. 'description_position' => 'bottom',
  177. 'video_style' => 'normal',
  178. ),
  179. 'type' => 'video_embed_field',
  180. 'weight' => 4,
  181. ),
  182. 'full' => array(
  183. 'label' => 'hidden',
  184. 'settings' => array(),
  185. 'type' => 'hidden',
  186. 'weight' => 4,
  187. ),
  188. 'token' => array(
  189. 'label' => 'hidden',
  190. 'module' => 'video_embed_field',
  191. 'settings' => array(
  192. 'description' => 1,
  193. 'description_position' => 'bottom',
  194. 'video_style' => 'normal',
  195. ),
  196. 'type' => 'video_embed_field',
  197. 'weight' => 4,
  198. ),
  199. ),
  200. 'entity_type' => 'field_collection_item',
  201. 'field_name' => 'field_video',
  202. 'label' => 'Video',
  203. 'required' => 0,
  204. 'settings' => array(
  205. 'description_field' => 0,
  206. 'description_length' => 128,
  207. 'user_register_form' => FALSE,
  208. ),
  209. 'widget' => array(
  210. 'active' => 0,
  211. 'module' => 'video_embed_field',
  212. 'settings' => array(),
  213. 'type' => 'video_embed_field_video',
  214. 'weight' => 2,
  215. ),
  216. );
  217. // Exported field_instance: 'field_collection_item-field_partie-field_vignette'
  218. $field_instances['field_collection_item-field_partie-field_vignette'] = array(
  219. 'bundle' => 'field_partie',
  220. 'deleted' => 0,
  221. 'description' => '',
  222. 'display' => array(
  223. 'default' => array(
  224. 'label' => 'hidden',
  225. 'module' => 'image',
  226. 'settings' => array(
  227. 'image_link' => '',
  228. 'image_style' => '',
  229. ),
  230. 'type' => 'image',
  231. 'weight' => 0,
  232. ),
  233. 'full' => array(
  234. 'label' => 'hidden',
  235. 'module' => 'image',
  236. 'settings' => array(
  237. 'image_link' => '',
  238. 'image_style' => '',
  239. ),
  240. 'type' => 'image',
  241. 'weight' => 0,
  242. ),
  243. 'token' => array(
  244. 'label' => 'hidden',
  245. 'settings' => array(),
  246. 'type' => 'hidden',
  247. 'weight' => 0,
  248. ),
  249. ),
  250. 'entity_type' => 'field_collection_item',
  251. 'field_name' => 'field_vignette',
  252. 'label' => 'Vignette',
  253. 'required' => 0,
  254. 'settings' => array(
  255. 'alt_field' => 0,
  256. 'default_image' => 0,
  257. 'file_directory' => '',
  258. 'file_extensions' => 'png gif jpg jpeg',
  259. 'max_filesize' => '',
  260. 'max_resolution' => '',
  261. 'min_resolution' => '',
  262. 'title_field' => 0,
  263. 'user_register_form' => FALSE,
  264. ),
  265. 'widget' => array(
  266. 'active' => 1,
  267. 'module' => 'image',
  268. 'settings' => array(
  269. 'preview_image_style' => 'thumbnail',
  270. 'progress_indicator' => 'throbber',
  271. ),
  272. 'type' => 'image_image',
  273. 'weight' => 0,
  274. ),
  275. );
  276. // Exported field_instance: 'node-chapitre-field_accroche'
  277. $field_instances['node-chapitre-field_accroche'] = array(
  278. 'bundle' => 'chapitre',
  279. 'default_value' => NULL,
  280. 'deleted' => 0,
  281. 'description' => '',
  282. 'display' => array(
  283. 'chapter' => array(
  284. 'label' => 'above',
  285. 'settings' => array(),
  286. 'type' => 'hidden',
  287. 'weight' => 5,
  288. ),
  289. 'default' => array(
  290. 'label' => 'above',
  291. 'module' => 'text',
  292. 'settings' => array(),
  293. 'type' => 'text_default',
  294. 'weight' => 5,
  295. ),
  296. 'teaser' => array(
  297. 'label' => 'hidden',
  298. 'module' => 'text',
  299. 'settings' => array(
  300. 'trim_length' => 200,
  301. ),
  302. 'type' => 'text_trimmed',
  303. 'weight' => 0,
  304. ),
  305. ),
  306. 'entity_type' => 'node',
  307. 'field_name' => 'field_accroche',
  308. 'label' => 'Accroche',
  309. 'required' => 0,
  310. 'settings' => array(
  311. 'linkit' => array(
  312. 'button_text' => 'Recherche',
  313. 'enable' => 0,
  314. 'profile' => '',
  315. ),
  316. 'text_processing' => 1,
  317. 'user_register_form' => FALSE,
  318. ),
  319. 'widget' => array(
  320. 'active' => 1,
  321. 'module' => 'text',
  322. 'settings' => array(
  323. 'rows' => 5,
  324. ),
  325. 'type' => 'text_textarea',
  326. 'weight' => 104,
  327. ),
  328. );
  329. // Exported field_instance: 'node-chapitre-field_agir'
  330. $field_instances['node-chapitre-field_agir'] = array(
  331. 'bundle' => 'chapitre',
  332. 'default_value' => NULL,
  333. 'deleted' => 0,
  334. 'description' => '',
  335. 'display' => array(
  336. 'chapter' => array(
  337. 'label' => 'above',
  338. 'module' => 'text',
  339. 'settings' => array(),
  340. 'type' => 'text_default',
  341. 'weight' => 3,
  342. ),
  343. 'default' => array(
  344. 'label' => 'above',
  345. 'module' => 'text',
  346. 'settings' => array(),
  347. 'type' => 'text_default',
  348. 'weight' => 2,
  349. ),
  350. 'teaser' => array(
  351. 'label' => 'above',
  352. 'settings' => array(),
  353. 'type' => 'hidden',
  354. 'weight' => 5,
  355. ),
  356. ),
  357. 'entity_type' => 'node',
  358. 'field_name' => 'field_agir',
  359. 'label' => 'Agir',
  360. 'required' => 0,
  361. 'settings' => array(
  362. 'linkit' => array(
  363. 'button_text' => 'Recherche',
  364. 'enable' => 0,
  365. 'profile' => '',
  366. ),
  367. 'text_processing' => 1,
  368. 'user_register_form' => FALSE,
  369. ),
  370. 'widget' => array(
  371. 'active' => 1,
  372. 'module' => 'text',
  373. 'settings' => array(
  374. 'rows' => 10,
  375. ),
  376. 'type' => 'text_textarea',
  377. 'weight' => 107,
  378. ),
  379. );
  380. // Exported field_instance: 'node-chapitre-field_comprendre'
  381. $field_instances['node-chapitre-field_comprendre'] = array(
  382. 'bundle' => 'chapitre',
  383. 'default_value' => NULL,
  384. 'deleted' => 0,
  385. 'description' => '',
  386. 'display' => array(
  387. 'chapter' => array(
  388. 'label' => 'above',
  389. 'module' => 'text',
  390. 'settings' => array(),
  391. 'type' => 'text_default',
  392. 'weight' => 1,
  393. ),
  394. 'default' => array(
  395. 'label' => 'above',
  396. 'module' => 'text',
  397. 'settings' => array(),
  398. 'type' => 'text_default',
  399. 'weight' => 3,
  400. ),
  401. 'teaser' => array(
  402. 'label' => 'hidden',
  403. 'settings' => array(),
  404. 'type' => 'hidden',
  405. 'weight' => 1,
  406. ),
  407. ),
  408. 'entity_type' => 'node',
  409. 'field_name' => 'field_comprendre',
  410. 'label' => 'Comprendre',
  411. 'required' => 0,
  412. 'settings' => array(
  413. 'linkit' => array(
  414. 'button_text' => 'Recherche',
  415. 'enable' => 0,
  416. 'profile' => '',
  417. ),
  418. 'text_processing' => 1,
  419. 'user_register_form' => FALSE,
  420. ),
  421. 'widget' => array(
  422. 'active' => 1,
  423. 'module' => 'text',
  424. 'settings' => array(
  425. 'rows' => 10,
  426. ),
  427. 'type' => 'text_textarea',
  428. 'weight' => 105,
  429. ),
  430. );
  431. // Exported field_instance: 'node-chapitre-field_dbatre'
  432. $field_instances['node-chapitre-field_dbatre'] = array(
  433. 'bundle' => 'chapitre',
  434. 'default_value' => NULL,
  435. 'deleted' => 0,
  436. 'description' => '',
  437. 'display' => array(
  438. 'chapter' => array(
  439. 'label' => 'above',
  440. 'module' => 'text',
  441. 'settings' => array(),
  442. 'type' => 'text_default',
  443. 'weight' => 2,
  444. ),
  445. 'default' => array(
  446. 'label' => 'above',
  447. 'module' => 'text',
  448. 'settings' => array(),
  449. 'type' => 'text_default',
  450. 'weight' => 1,
  451. ),
  452. 'teaser' => array(
  453. 'label' => 'above',
  454. 'settings' => array(),
  455. 'type' => 'hidden',
  456. 'weight' => 6,
  457. ),
  458. ),
  459. 'entity_type' => 'node',
  460. 'field_name' => 'field_dbatre',
  461. 'label' => 'Débattre',
  462. 'required' => 0,
  463. 'settings' => array(
  464. 'linkit' => array(
  465. 'button_text' => 'Recherche',
  466. 'enable' => 0,
  467. 'profile' => '',
  468. ),
  469. 'text_processing' => 1,
  470. 'user_register_form' => FALSE,
  471. ),
  472. 'widget' => array(
  473. 'active' => 1,
  474. 'module' => 'text',
  475. 'settings' => array(
  476. 'rows' => 10,
  477. ),
  478. 'type' => 'text_textarea',
  479. 'weight' => 106,
  480. ),
  481. );
  482. // Exported field_instance: 'node-chapitre-field_partager'
  483. $field_instances['node-chapitre-field_partager'] = array(
  484. 'bundle' => 'chapitre',
  485. 'default_value' => NULL,
  486. 'deleted' => 0,
  487. 'description' => 'provide twitter hashtag without #',
  488. 'display' => array(
  489. 'chapter' => array(
  490. 'label' => 'above',
  491. 'module' => 'jeemod',
  492. 'settings' => array(),
  493. 'type' => 'share_butons',
  494. 'weight' => 4,
  495. ),
  496. 'default' => array(
  497. 'label' => 'above',
  498. 'module' => 'jeemod',
  499. 'settings' => array(),
  500. 'type' => 'share_butons',
  501. 'weight' => 4,
  502. ),
  503. 'teaser' => array(
  504. 'label' => 'above',
  505. 'settings' => array(),
  506. 'type' => 'hidden',
  507. 'weight' => 3,
  508. ),
  509. ),
  510. 'entity_type' => 'node',
  511. 'field_name' => 'field_partager',
  512. 'label' => 'Partager',
  513. 'required' => 0,
  514. 'settings' => array(
  515. 'linkit' => array(
  516. 'button_text' => 'Recherche',
  517. 'enable' => 0,
  518. 'profile' => '',
  519. ),
  520. 'text_processing' => 0,
  521. 'user_register_form' => FALSE,
  522. ),
  523. 'widget' => array(
  524. 'active' => 1,
  525. 'module' => 'text',
  526. 'settings' => array(
  527. 'size' => 60,
  528. ),
  529. 'type' => 'text_textfield',
  530. 'weight' => 108,
  531. ),
  532. );
  533. // Exported field_instance: 'node-chapitre-field_partie'
  534. $field_instances['node-chapitre-field_partie'] = array(
  535. 'bundle' => 'chapitre',
  536. 'default_value' => NULL,
  537. 'deleted' => 0,
  538. 'description' => '',
  539. 'display' => array(
  540. 'chapter' => array(
  541. 'label' => 'hidden',
  542. 'module' => 'field_collection',
  543. 'settings' => array(
  544. 'view_mode' => 'token',
  545. ),
  546. 'type' => 'field_collection_fields',
  547. 'weight' => 0,
  548. ),
  549. 'default' => array(
  550. 'label' => 'hidden',
  551. 'module' => 'field_collection',
  552. 'settings' => array(
  553. 'add' => 'Ajouter',
  554. 'delete' => 'Supprimer',
  555. 'description' => TRUE,
  556. 'edit' => 'Modifier',
  557. 'view_mode' => 'full',
  558. ),
  559. 'type' => 'field_collection_view',
  560. 'weight' => 0,
  561. ),
  562. 'teaser' => array(
  563. 'label' => 'hidden',
  564. 'module' => 'field_collection',
  565. 'settings' => array(
  566. 'view_mode' => 'full',
  567. ),
  568. 'type' => 'field_collection_fields',
  569. 'weight' => 2,
  570. ),
  571. ),
  572. 'entity_type' => 'node',
  573. 'field_name' => 'field_partie',
  574. 'label' => 'Partie',
  575. 'required' => 0,
  576. 'settings' => array(
  577. 'user_register_form' => FALSE,
  578. ),
  579. 'widget' => array(
  580. 'active' => 0,
  581. 'module' => 'field_collection',
  582. 'settings' => array(),
  583. 'type' => 'field_collection_embed',
  584. 'weight' => 3,
  585. ),
  586. );
  587. // Translatables
  588. // Included for use with string extractors like potx.
  589. t('Accroche');
  590. t('Agir');
  591. t('Comprendre');
  592. t('Description');
  593. t('Débattre');
  594. t('Partager');
  595. t('Partie');
  596. t('Sous titre');
  597. t('Titre');
  598. t('Video');
  599. t('Vignette');
  600. t('provide twitter hashtag without #');
  601. return $field_instances;
  602. }