chapitre.features.field_instance.inc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626
  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. 'insert' => 0,
  270. 'insert_absolute' => FALSE,
  271. 'insert_class' => '',
  272. 'insert_default' => array(
  273. 0 => 'auto',
  274. ),
  275. 'insert_styles' => array(
  276. 0 => 'auto',
  277. ),
  278. 'insert_width' => '',
  279. 'preview_image_style' => 'thumbnail',
  280. 'progress_indicator' => 'throbber',
  281. ),
  282. 'type' => 'image_image',
  283. 'weight' => 0,
  284. ),
  285. );
  286. // Exported field_instance: 'node-chapitre-field_accroche'
  287. $field_instances['node-chapitre-field_accroche'] = array(
  288. 'bundle' => 'chapitre',
  289. 'default_value' => NULL,
  290. 'deleted' => 0,
  291. 'description' => '',
  292. 'display' => array(
  293. 'chapter' => array(
  294. 'label' => 'above',
  295. 'settings' => array(),
  296. 'type' => 'hidden',
  297. 'weight' => 5,
  298. ),
  299. 'default' => array(
  300. 'label' => 'above',
  301. 'module' => 'text',
  302. 'settings' => array(),
  303. 'type' => 'text_default',
  304. 'weight' => 5,
  305. ),
  306. 'teaser' => array(
  307. 'label' => 'hidden',
  308. 'module' => 'text',
  309. 'settings' => array(
  310. 'trim_length' => 200,
  311. ),
  312. 'type' => 'text_trimmed',
  313. 'weight' => 0,
  314. ),
  315. ),
  316. 'entity_type' => 'node',
  317. 'field_name' => 'field_accroche',
  318. 'label' => 'Accroche',
  319. 'required' => 0,
  320. 'settings' => array(
  321. 'linkit' => array(
  322. 'button_text' => 'Recherche',
  323. 'enable' => 0,
  324. 'profile' => '',
  325. ),
  326. 'text_processing' => 1,
  327. 'user_register_form' => FALSE,
  328. ),
  329. 'widget' => array(
  330. 'active' => 1,
  331. 'module' => 'text',
  332. 'settings' => array(
  333. 'rows' => 5,
  334. ),
  335. 'type' => 'text_textarea',
  336. 'weight' => 104,
  337. ),
  338. );
  339. // Exported field_instance: 'node-chapitre-field_agir'
  340. $field_instances['node-chapitre-field_agir'] = array(
  341. 'bundle' => 'chapitre',
  342. 'default_value' => NULL,
  343. 'deleted' => 0,
  344. 'description' => '',
  345. 'display' => array(
  346. 'chapter' => array(
  347. 'label' => 'above',
  348. 'module' => 'text',
  349. 'settings' => array(),
  350. 'type' => 'text_default',
  351. 'weight' => 3,
  352. ),
  353. 'default' => array(
  354. 'label' => 'above',
  355. 'module' => 'text',
  356. 'settings' => array(),
  357. 'type' => 'text_default',
  358. 'weight' => 3,
  359. ),
  360. 'teaser' => array(
  361. 'label' => 'above',
  362. 'settings' => array(),
  363. 'type' => 'hidden',
  364. 'weight' => 5,
  365. ),
  366. ),
  367. 'entity_type' => 'node',
  368. 'field_name' => 'field_agir',
  369. 'label' => 'Agir',
  370. 'required' => 0,
  371. 'settings' => array(
  372. 'linkit' => array(
  373. 'button_text' => 'Recherche',
  374. 'enable' => 0,
  375. 'profile' => '',
  376. ),
  377. 'text_processing' => 1,
  378. 'user_register_form' => FALSE,
  379. ),
  380. 'widget' => array(
  381. 'active' => 1,
  382. 'module' => 'text',
  383. 'settings' => array(
  384. 'rows' => 10,
  385. ),
  386. 'type' => 'text_textarea',
  387. 'weight' => 107,
  388. ),
  389. );
  390. // Exported field_instance: 'node-chapitre-field_comprendre'
  391. $field_instances['node-chapitre-field_comprendre'] = array(
  392. 'bundle' => 'chapitre',
  393. 'default_value' => NULL,
  394. 'deleted' => 0,
  395. 'description' => '',
  396. 'display' => array(
  397. 'chapter' => array(
  398. 'label' => 'above',
  399. 'module' => 'text',
  400. 'settings' => array(),
  401. 'type' => 'text_default',
  402. 'weight' => 1,
  403. ),
  404. 'default' => array(
  405. 'label' => 'above',
  406. 'module' => 'text',
  407. 'settings' => array(),
  408. 'type' => 'text_default',
  409. 'weight' => 1,
  410. ),
  411. 'teaser' => array(
  412. 'label' => 'hidden',
  413. 'settings' => array(),
  414. 'type' => 'hidden',
  415. 'weight' => 1,
  416. ),
  417. ),
  418. 'entity_type' => 'node',
  419. 'field_name' => 'field_comprendre',
  420. 'label' => 'Comprendre',
  421. 'required' => 0,
  422. 'settings' => array(
  423. 'linkit' => array(
  424. 'button_text' => 'Recherche',
  425. 'enable' => 0,
  426. 'profile' => '',
  427. ),
  428. 'text_processing' => 1,
  429. 'user_register_form' => FALSE,
  430. ),
  431. 'widget' => array(
  432. 'active' => 1,
  433. 'module' => 'text',
  434. 'settings' => array(
  435. 'rows' => 10,
  436. ),
  437. 'type' => 'text_textarea',
  438. 'weight' => 105,
  439. ),
  440. );
  441. // Exported field_instance: 'node-chapitre-field_dbatre'
  442. $field_instances['node-chapitre-field_dbatre'] = array(
  443. 'bundle' => 'chapitre',
  444. 'default_value' => NULL,
  445. 'deleted' => 0,
  446. 'description' => '',
  447. 'display' => array(
  448. 'chapter' => array(
  449. 'label' => 'above',
  450. 'module' => 'text',
  451. 'settings' => array(),
  452. 'type' => 'text_default',
  453. 'weight' => 2,
  454. ),
  455. 'default' => array(
  456. 'label' => 'above',
  457. 'module' => 'text',
  458. 'settings' => array(),
  459. 'type' => 'text_default',
  460. 'weight' => 2,
  461. ),
  462. 'teaser' => array(
  463. 'label' => 'above',
  464. 'settings' => array(),
  465. 'type' => 'hidden',
  466. 'weight' => 6,
  467. ),
  468. ),
  469. 'entity_type' => 'node',
  470. 'field_name' => 'field_dbatre',
  471. 'label' => 'Débattre',
  472. 'required' => 0,
  473. 'settings' => array(
  474. 'linkit' => array(
  475. 'button_text' => 'Recherche',
  476. 'enable' => 0,
  477. 'profile' => '',
  478. ),
  479. 'text_processing' => 1,
  480. 'user_register_form' => FALSE,
  481. ),
  482. 'widget' => array(
  483. 'active' => 1,
  484. 'module' => 'text',
  485. 'settings' => array(
  486. 'rows' => 10,
  487. ),
  488. 'type' => 'text_textarea',
  489. 'weight' => 106,
  490. ),
  491. );
  492. // Exported field_instance: 'node-chapitre-field_partager'
  493. $field_instances['node-chapitre-field_partager'] = array(
  494. 'bundle' => 'chapitre',
  495. 'default_value' => NULL,
  496. 'deleted' => 0,
  497. 'description' => 'provide twitter hashtag without #',
  498. 'display' => array(
  499. 'chapter' => array(
  500. 'label' => 'above',
  501. 'module' => 'jeemod',
  502. 'settings' => array(),
  503. 'type' => 'share_butons',
  504. 'weight' => 4,
  505. ),
  506. 'default' => array(
  507. 'label' => 'above',
  508. 'module' => 'jeemod',
  509. 'settings' => array(),
  510. 'type' => 'share_butons',
  511. 'weight' => 4,
  512. ),
  513. 'teaser' => array(
  514. 'label' => 'above',
  515. 'settings' => array(),
  516. 'type' => 'hidden',
  517. 'weight' => 3,
  518. ),
  519. ),
  520. 'entity_type' => 'node',
  521. 'field_name' => 'field_partager',
  522. 'label' => 'Partager',
  523. 'required' => 0,
  524. 'settings' => array(
  525. 'linkit' => array(
  526. 'button_text' => 'Recherche',
  527. 'enable' => 0,
  528. 'profile' => '',
  529. ),
  530. 'text_processing' => 0,
  531. 'user_register_form' => FALSE,
  532. ),
  533. 'widget' => array(
  534. 'active' => 1,
  535. 'module' => 'text',
  536. 'settings' => array(
  537. 'size' => 60,
  538. ),
  539. 'type' => 'text_textfield',
  540. 'weight' => 108,
  541. ),
  542. );
  543. // Exported field_instance: 'node-chapitre-field_partie'
  544. $field_instances['node-chapitre-field_partie'] = array(
  545. 'bundle' => 'chapitre',
  546. 'default_value' => NULL,
  547. 'deleted' => 0,
  548. 'description' => '',
  549. 'display' => array(
  550. 'chapter' => array(
  551. 'label' => 'hidden',
  552. 'module' => 'field_collection',
  553. 'settings' => array(
  554. 'view_mode' => 'token',
  555. ),
  556. 'type' => 'field_collection_fields',
  557. 'weight' => 0,
  558. ),
  559. 'default' => array(
  560. 'label' => 'hidden',
  561. 'module' => 'field_collection',
  562. 'settings' => array(
  563. 'add' => 'Ajouter',
  564. 'delete' => 'Supprimer',
  565. 'description' => TRUE,
  566. 'edit' => 'Modifier',
  567. 'view_mode' => 'full',
  568. ),
  569. 'type' => 'field_collection_view',
  570. 'weight' => 0,
  571. ),
  572. 'teaser' => array(
  573. 'label' => 'hidden',
  574. 'module' => 'field_collection',
  575. 'settings' => array(
  576. 'view_mode' => 'full',
  577. ),
  578. 'type' => 'field_collection_fields',
  579. 'weight' => 2,
  580. ),
  581. ),
  582. 'entity_type' => 'node',
  583. 'field_name' => 'field_partie',
  584. 'label' => 'Partie',
  585. 'required' => 0,
  586. 'settings' => array(
  587. 'user_register_form' => FALSE,
  588. ),
  589. 'widget' => array(
  590. 'active' => 0,
  591. 'module' => 'field_collection',
  592. 'settings' => array(),
  593. 'type' => 'field_collection_embed',
  594. 'weight' => 3,
  595. ),
  596. );
  597. // Translatables
  598. // Included for use with string extractors like potx.
  599. t('Accroche');
  600. t('Agir');
  601. t('Comprendre');
  602. t('Description');
  603. t('Débattre');
  604. t('Partager');
  605. t('Partie');
  606. t('Sous titre');
  607. t('Titre');
  608. t('Video');
  609. t('Vignette');
  610. t('provide twitter hashtag without #');
  611. return $field_instances;
  612. }