showroom.features.field_instance.inc 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281
  1. <?php
  2. /**
  3. * @file
  4. * showroom.features.field_instance.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_instances().
  8. */
  9. function showroom_field_default_field_instances() {
  10. $field_instances = array();
  11. // Exported field_instance:
  12. // 'field_collection_item-field_showroom_localisation-field_showroom_localisation_loca'.
  13. $field_instances['field_collection_item-field_showroom_localisation-field_showroom_localisation_loca'] = array(
  14. 'bundle' => 'field_showroom_localisation',
  15. 'default_value' => NULL,
  16. 'deleted' => 0,
  17. 'description' => '',
  18. 'display' => array(
  19. 'default' => array(
  20. 'label' => 'hidden',
  21. 'module' => 'text',
  22. 'settings' => array(),
  23. 'type' => 'text_default',
  24. 'weight' => 1,
  25. ),
  26. ),
  27. 'entity_type' => 'field_collection_item',
  28. 'field_name' => 'field_showroom_localisation_loca',
  29. 'label' => 'Localisation',
  30. 'required' => 0,
  31. 'settings' => array(
  32. 'entity_translation_sync' => FALSE,
  33. 'text_processing' => 0,
  34. 'user_register_form' => FALSE,
  35. ),
  36. 'widget' => array(
  37. 'active' => 1,
  38. 'module' => 'text',
  39. 'settings' => array(
  40. 'size' => 60,
  41. ),
  42. 'type' => 'text_textfield',
  43. 'weight' => 32,
  44. ),
  45. );
  46. // Exported field_instance:
  47. // 'field_collection_item-field_showroom_localisation-field_showroom_localisation_show'.
  48. $field_instances['field_collection_item-field_showroom_localisation-field_showroom_localisation_show'] = array(
  49. 'bundle' => 'field_showroom_localisation',
  50. 'default_value' => NULL,
  51. 'deleted' => 0,
  52. 'description' => '[current-user:field-showroom:tid]',
  53. 'display' => array(
  54. 'default' => array(
  55. 'label' => 'hidden',
  56. 'module' => 'taxonomy',
  57. 'settings' => array(),
  58. 'type' => 'taxonomy_term_reference_plain',
  59. 'weight' => 0,
  60. ),
  61. ),
  62. 'entity_type' => 'field_collection_item',
  63. 'field_name' => 'field_showroom_localisation_show',
  64. 'label' => 'Showroom',
  65. 'required' => 0,
  66. 'settings' => array(
  67. 'entity_translation_sync' => FALSE,
  68. 'user_register_form' => FALSE,
  69. ),
  70. 'widget' => array(
  71. 'active' => 1,
  72. 'module' => 'taxonomy',
  73. 'settings' => array(
  74. 'autocomplete_path' => 'taxonomy/autocomplete',
  75. 'content_taxonomy_autocomplete_new_terms' => 'allow',
  76. 'display_empty' => 1,
  77. 'formatter' => 'taxonomy_term_reference_link',
  78. 'formatter_settings' => array(),
  79. 'size' => 60,
  80. ),
  81. 'type' => 'taxonomy_autocomplete',
  82. 'weight' => 31,
  83. ),
  84. );
  85. // Exported field_instance: 'node-materiau-field_showroom_localisation'.
  86. $field_instances['node-materiau-field_showroom_localisation'] = array(
  87. 'bundle' => 'materiau',
  88. 'default_value' => NULL,
  89. 'deleted' => 0,
  90. 'description' => '',
  91. 'display' => array(
  92. 'bookmark' => array(
  93. 'label' => 'above',
  94. 'settings' => array(),
  95. 'type' => 'hidden',
  96. 'weight' => 0,
  97. ),
  98. 'cardbig' => array(
  99. 'label' => 'above',
  100. 'settings' => array(),
  101. 'type' => 'hidden',
  102. 'weight' => 0,
  103. ),
  104. 'cardfull' => array(
  105. 'label' => 'above',
  106. 'settings' => array(),
  107. 'type' => 'hidden',
  108. 'weight' => 0,
  109. ),
  110. 'cardmedium' => array(
  111. 'label' => 'above',
  112. 'module' => 'field_collection',
  113. 'settings' => array(
  114. 'add' => '',
  115. 'delete' => '',
  116. 'description' => 1,
  117. 'edit' => '',
  118. 'view_mode' => 'full',
  119. ),
  120. 'type' => 'field_collection_view',
  121. 'weight' => 9,
  122. ),
  123. 'cardsmall' => array(
  124. 'label' => 'above',
  125. 'settings' => array(),
  126. 'type' => 'hidden',
  127. 'weight' => 0,
  128. ),
  129. 'default' => array(
  130. 'label' => 'above',
  131. 'module' => 'field_collection',
  132. 'settings' => array(
  133. 'add' => 'Ajouter',
  134. 'delete' => 'Supprimer',
  135. 'description' => TRUE,
  136. 'edit' => 'Modifier',
  137. 'view_mode' => 'full',
  138. ),
  139. 'type' => 'field_collection_view',
  140. 'weight' => 25,
  141. ),
  142. 'homeblock' => array(
  143. 'label' => 'above',
  144. 'settings' => array(),
  145. 'type' => 'hidden',
  146. 'weight' => 0,
  147. ),
  148. 'print' => array(
  149. 'label' => 'above',
  150. 'settings' => array(),
  151. 'type' => 'hidden',
  152. 'weight' => 0,
  153. ),
  154. 'teaser' => array(
  155. 'label' => 'above',
  156. 'settings' => array(),
  157. 'type' => 'hidden',
  158. 'weight' => 0,
  159. ),
  160. ),
  161. 'entity_type' => 'node',
  162. 'field_name' => 'field_showroom_localisation',
  163. 'label' => 'showroom_localisation',
  164. 'required' => 0,
  165. 'settings' => array(
  166. 'entity_translation_sync' => FALSE,
  167. 'user_register_form' => FALSE,
  168. ),
  169. 'widget' => array(
  170. 'active' => 0,
  171. 'module' => 'field_collection',
  172. 'settings' => array(),
  173. 'type' => 'field_collection_embed',
  174. 'weight' => 5,
  175. ),
  176. );
  177. // Exported field_instance: 'node-showroom-body'.
  178. $field_instances['node-showroom-body'] = array(
  179. 'bundle' => 'showroom',
  180. 'default_value' => NULL,
  181. 'deleted' => 0,
  182. 'description' => '',
  183. 'display' => array(
  184. 'bookmark' => array(
  185. 'label' => 'above',
  186. 'settings' => array(),
  187. 'type' => 'hidden',
  188. 'weight' => 0,
  189. ),
  190. 'cardbig' => array(
  191. 'label' => 'above',
  192. 'settings' => array(),
  193. 'type' => 'hidden',
  194. 'weight' => 0,
  195. ),
  196. 'cardfull' => array(
  197. 'label' => 'above',
  198. 'settings' => array(),
  199. 'type' => 'hidden',
  200. 'weight' => 0,
  201. ),
  202. 'cardmedium' => array(
  203. 'label' => 'above',
  204. 'settings' => array(),
  205. 'type' => 'hidden',
  206. 'weight' => 0,
  207. ),
  208. 'cardsmall' => array(
  209. 'label' => 'above',
  210. 'settings' => array(),
  211. 'type' => 'hidden',
  212. 'weight' => 0,
  213. ),
  214. 'default' => array(
  215. 'label' => 'hidden',
  216. 'module' => 'text',
  217. 'settings' => array(),
  218. 'type' => 'text_default',
  219. 'weight' => 3,
  220. ),
  221. 'homeblock' => array(
  222. 'label' => 'above',
  223. 'settings' => array(),
  224. 'type' => 'hidden',
  225. 'weight' => 0,
  226. ),
  227. 'teaser' => array(
  228. 'label' => 'hidden',
  229. 'module' => 'text',
  230. 'settings' => array(
  231. 'trim_length' => 600,
  232. ),
  233. 'type' => 'text_summary_or_trimmed',
  234. 'weight' => 0,
  235. ),
  236. ),
  237. 'entity_type' => 'node',
  238. 'field_name' => 'body',
  239. 'label' => 'Body',
  240. 'required' => FALSE,
  241. 'settings' => array(
  242. 'display_summary' => TRUE,
  243. 'entity_translation_sync' => FALSE,
  244. 'text_processing' => 1,
  245. 'user_register_form' => FALSE,
  246. ),
  247. 'widget' => array(
  248. 'module' => 'text',
  249. 'settings' => array(
  250. 'rows' => 20,
  251. 'summary_rows' => 5,
  252. ),
  253. 'type' => 'text_textarea_with_summary',
  254. 'weight' => 5,
  255. ),
  256. );
  257. // Exported field_instance: 'node-showroom-field_memo'.
  258. $field_instances['node-showroom-field_memo'] = array(
  259. 'bundle' => 'showroom',
  260. 'default_value' => NULL,
  261. 'deleted' => 0,
  262. 'description' => '',
  263. 'display' => array(
  264. 'bookmark' => array(
  265. 'label' => 'above',
  266. 'settings' => array(),
  267. 'type' => 'hidden',
  268. 'weight' => 0,
  269. ),
  270. 'cardbig' => array(
  271. 'label' => 'above',
  272. 'settings' => array(),
  273. 'type' => 'hidden',
  274. 'weight' => 0,
  275. ),
  276. 'cardfull' => array(
  277. 'label' => 'above',
  278. 'settings' => array(),
  279. 'type' => 'hidden',
  280. 'weight' => 0,
  281. ),
  282. 'cardmedium' => array(
  283. 'label' => 'above',
  284. 'settings' => array(),
  285. 'type' => 'hidden',
  286. 'weight' => 0,
  287. ),
  288. 'cardsmall' => array(
  289. 'label' => 'above',
  290. 'settings' => array(),
  291. 'type' => 'hidden',
  292. 'weight' => 0,
  293. ),
  294. 'default' => array(
  295. 'label' => 'above',
  296. 'module' => 'text',
  297. 'settings' => array(),
  298. 'type' => 'text_default',
  299. 'weight' => 5,
  300. ),
  301. 'homeblock' => array(
  302. 'label' => 'above',
  303. 'settings' => array(),
  304. 'type' => 'hidden',
  305. 'weight' => 0,
  306. ),
  307. 'teaser' => array(
  308. 'label' => 'above',
  309. 'settings' => array(),
  310. 'type' => 'hidden',
  311. 'weight' => 0,
  312. ),
  313. ),
  314. 'entity_type' => 'node',
  315. 'field_name' => 'field_memo',
  316. 'label' => 'Mémo',
  317. 'required' => 0,
  318. 'settings' => array(
  319. 'entity_translation_sync' => FALSE,
  320. 'text_processing' => 0,
  321. 'user_register_form' => FALSE,
  322. ),
  323. 'widget' => array(
  324. 'active' => 1,
  325. 'module' => 'text',
  326. 'settings' => array(
  327. 'rows' => 5,
  328. ),
  329. 'type' => 'text_textarea',
  330. 'weight' => 10,
  331. ),
  332. );
  333. // Exported field_instance: 'node-showroom-field_public_address'.
  334. $field_instances['node-showroom-field_public_address'] = array(
  335. 'bundle' => 'showroom',
  336. 'default_value' => NULL,
  337. 'deleted' => 0,
  338. 'description' => '',
  339. 'display' => array(
  340. 'bookmark' => array(
  341. 'label' => 'above',
  342. 'settings' => array(),
  343. 'type' => 'hidden',
  344. 'weight' => 0,
  345. ),
  346. 'cardbig' => array(
  347. 'label' => 'above',
  348. 'settings' => array(),
  349. 'type' => 'hidden',
  350. 'weight' => 0,
  351. ),
  352. 'cardfull' => array(
  353. 'label' => 'above',
  354. 'settings' => array(),
  355. 'type' => 'hidden',
  356. 'weight' => 0,
  357. ),
  358. 'cardmedium' => array(
  359. 'label' => 'above',
  360. 'settings' => array(),
  361. 'type' => 'hidden',
  362. 'weight' => 0,
  363. ),
  364. 'cardsmall' => array(
  365. 'label' => 'above',
  366. 'settings' => array(),
  367. 'type' => 'hidden',
  368. 'weight' => 0,
  369. ),
  370. 'default' => array(
  371. 'label' => 'hidden',
  372. 'module' => 'addressfield',
  373. 'settings' => array(
  374. 'format_handlers' => array(
  375. 0 => 'address',
  376. ),
  377. 'use_widget_handlers' => 1,
  378. ),
  379. 'type' => 'addressfield_default',
  380. 'weight' => 0,
  381. ),
  382. 'homeblock' => array(
  383. 'label' => 'above',
  384. 'settings' => array(),
  385. 'type' => 'hidden',
  386. 'weight' => 0,
  387. ),
  388. 'teaser' => array(
  389. 'label' => 'above',
  390. 'settings' => array(),
  391. 'type' => 'hidden',
  392. 'weight' => 0,
  393. ),
  394. ),
  395. 'entity_type' => 'node',
  396. 'field_name' => 'field_public_address',
  397. 'label' => 'Adresse',
  398. 'required' => 0,
  399. 'settings' => array(
  400. 'entity_translation_sync' => FALSE,
  401. 'user_register_form' => FALSE,
  402. ),
  403. 'widget' => array(
  404. 'active' => 1,
  405. 'module' => 'addressfield',
  406. 'settings' => array(
  407. 'available_countries' => array(
  408. 'AD' => 'AD',
  409. 'AE' => 'AE',
  410. 'AF' => 'AF',
  411. 'AG' => 'AG',
  412. 'AI' => 'AI',
  413. 'AL' => 'AL',
  414. 'AM' => 'AM',
  415. 'AN' => 'AN',
  416. 'AO' => 'AO',
  417. 'AQ' => 'AQ',
  418. 'AR' => 'AR',
  419. 'AS' => 'AS',
  420. 'AT' => 'AT',
  421. 'AU' => 'AU',
  422. 'AW' => 'AW',
  423. 'AX' => 'AX',
  424. 'AZ' => 'AZ',
  425. 'BA' => 'BA',
  426. 'BB' => 'BB',
  427. 'BD' => 'BD',
  428. 'BE' => 'BE',
  429. 'BF' => 'BF',
  430. 'BG' => 'BG',
  431. 'BH' => 'BH',
  432. 'BI' => 'BI',
  433. 'BJ' => 'BJ',
  434. 'BL' => 'BL',
  435. 'BM' => 'BM',
  436. 'BN' => 'BN',
  437. 'BO' => 'BO',
  438. 'BQ' => 'BQ',
  439. 'BR' => 'BR',
  440. 'BS' => 'BS',
  441. 'BT' => 'BT',
  442. 'BV' => 'BV',
  443. 'BW' => 'BW',
  444. 'BY' => 'BY',
  445. 'BZ' => 'BZ',
  446. 'CA' => 'CA',
  447. 'CC' => 'CC',
  448. 'CD' => 'CD',
  449. 'CF' => 'CF',
  450. 'CG' => 'CG',
  451. 'CH' => 'CH',
  452. 'CI' => 'CI',
  453. 'CK' => 'CK',
  454. 'CL' => 'CL',
  455. 'CM' => 'CM',
  456. 'CN' => 'CN',
  457. 'CO' => 'CO',
  458. 'CR' => 'CR',
  459. 'CU' => 'CU',
  460. 'CV' => 'CV',
  461. 'CW' => 'CW',
  462. 'CX' => 'CX',
  463. 'CY' => 'CY',
  464. 'CZ' => 'CZ',
  465. 'DE' => 'DE',
  466. 'DJ' => 'DJ',
  467. 'DK' => 'DK',
  468. 'DM' => 'DM',
  469. 'DO' => 'DO',
  470. 'DZ' => 'DZ',
  471. 'EC' => 'EC',
  472. 'EE' => 'EE',
  473. 'EG' => 'EG',
  474. 'EH' => 'EH',
  475. 'ER' => 'ER',
  476. 'ES' => 'ES',
  477. 'ET' => 'ET',
  478. 'FI' => 'FI',
  479. 'FJ' => 'FJ',
  480. 'FK' => 'FK',
  481. 'FM' => 'FM',
  482. 'FO' => 'FO',
  483. 'FR' => 'FR',
  484. 'GA' => 'GA',
  485. 'GB' => 'GB',
  486. 'GD' => 'GD',
  487. 'GE' => 'GE',
  488. 'GF' => 'GF',
  489. 'GG' => 'GG',
  490. 'GH' => 'GH',
  491. 'GI' => 'GI',
  492. 'GL' => 'GL',
  493. 'GM' => 'GM',
  494. 'GN' => 'GN',
  495. 'GP' => 'GP',
  496. 'GQ' => 'GQ',
  497. 'GR' => 'GR',
  498. 'GS' => 'GS',
  499. 'GT' => 'GT',
  500. 'GU' => 'GU',
  501. 'GW' => 'GW',
  502. 'GY' => 'GY',
  503. 'HK' => 'HK',
  504. 'HM' => 'HM',
  505. 'HN' => 'HN',
  506. 'HR' => 'HR',
  507. 'HT' => 'HT',
  508. 'HU' => 'HU',
  509. 'ID' => 'ID',
  510. 'IE' => 'IE',
  511. 'IL' => 'IL',
  512. 'IM' => 'IM',
  513. 'IN' => 'IN',
  514. 'IO' => 'IO',
  515. 'IQ' => 'IQ',
  516. 'IR' => 'IR',
  517. 'IS' => 'IS',
  518. 'IT' => 'IT',
  519. 'JE' => 'JE',
  520. 'JM' => 'JM',
  521. 'JO' => 'JO',
  522. 'JP' => 'JP',
  523. 'KE' => 'KE',
  524. 'KG' => 'KG',
  525. 'KH' => 'KH',
  526. 'KI' => 'KI',
  527. 'KM' => 'KM',
  528. 'KN' => 'KN',
  529. 'KP' => 'KP',
  530. 'KR' => 'KR',
  531. 'KW' => 'KW',
  532. 'KY' => 'KY',
  533. 'KZ' => 'KZ',
  534. 'LA' => 'LA',
  535. 'LB' => 'LB',
  536. 'LC' => 'LC',
  537. 'LI' => 'LI',
  538. 'LK' => 'LK',
  539. 'LR' => 'LR',
  540. 'LS' => 'LS',
  541. 'LT' => 'LT',
  542. 'LU' => 'LU',
  543. 'LV' => 'LV',
  544. 'LY' => 'LY',
  545. 'MA' => 'MA',
  546. 'MC' => 'MC',
  547. 'MD' => 'MD',
  548. 'ME' => 'ME',
  549. 'MF' => 'MF',
  550. 'MG' => 'MG',
  551. 'MH' => 'MH',
  552. 'MK' => 'MK',
  553. 'ML' => 'ML',
  554. 'MM' => 'MM',
  555. 'MN' => 'MN',
  556. 'MO' => 'MO',
  557. 'MP' => 'MP',
  558. 'MQ' => 'MQ',
  559. 'MR' => 'MR',
  560. 'MS' => 'MS',
  561. 'MT' => 'MT',
  562. 'MU' => 'MU',
  563. 'MV' => 'MV',
  564. 'MW' => 'MW',
  565. 'MX' => 'MX',
  566. 'MY' => 'MY',
  567. 'MZ' => 'MZ',
  568. 'NA' => 'NA',
  569. 'NC' => 'NC',
  570. 'NE' => 'NE',
  571. 'NF' => 'NF',
  572. 'NG' => 'NG',
  573. 'NI' => 'NI',
  574. 'NL' => 'NL',
  575. 'NO' => 'NO',
  576. 'NP' => 'NP',
  577. 'NR' => 'NR',
  578. 'NU' => 'NU',
  579. 'NZ' => 'NZ',
  580. 'OM' => 'OM',
  581. 'PA' => 'PA',
  582. 'PE' => 'PE',
  583. 'PF' => 'PF',
  584. 'PG' => 'PG',
  585. 'PH' => 'PH',
  586. 'PK' => 'PK',
  587. 'PL' => 'PL',
  588. 'PM' => 'PM',
  589. 'PN' => 'PN',
  590. 'PR' => 'PR',
  591. 'PS' => 'PS',
  592. 'PT' => 'PT',
  593. 'PW' => 'PW',
  594. 'PY' => 'PY',
  595. 'QA' => 'QA',
  596. 'RE' => 'RE',
  597. 'RO' => 'RO',
  598. 'RS' => 'RS',
  599. 'RU' => 'RU',
  600. 'RW' => 'RW',
  601. 'SA' => 'SA',
  602. 'SB' => 'SB',
  603. 'SC' => 'SC',
  604. 'SD' => 'SD',
  605. 'SE' => 'SE',
  606. 'SG' => 'SG',
  607. 'SH' => 'SH',
  608. 'SI' => 'SI',
  609. 'SJ' => 'SJ',
  610. 'SK' => 'SK',
  611. 'SL' => 'SL',
  612. 'SM' => 'SM',
  613. 'SN' => 'SN',
  614. 'SO' => 'SO',
  615. 'SR' => 'SR',
  616. 'SS' => 'SS',
  617. 'ST' => 'ST',
  618. 'SV' => 'SV',
  619. 'SX' => 'SX',
  620. 'SY' => 'SY',
  621. 'SZ' => 'SZ',
  622. 'TC' => 'TC',
  623. 'TD' => 'TD',
  624. 'TF' => 'TF',
  625. 'TG' => 'TG',
  626. 'TH' => 'TH',
  627. 'TJ' => 'TJ',
  628. 'TK' => 'TK',
  629. 'TL' => 'TL',
  630. 'TM' => 'TM',
  631. 'TN' => 'TN',
  632. 'TO' => 'TO',
  633. 'TR' => 'TR',
  634. 'TT' => 'TT',
  635. 'TV' => 'TV',
  636. 'TW' => 'TW',
  637. 'TZ' => 'TZ',
  638. 'UA' => 'UA',
  639. 'UG' => 'UG',
  640. 'UM' => 'UM',
  641. 'US' => 'US',
  642. 'UY' => 'UY',
  643. 'UZ' => 'UZ',
  644. 'VA' => 'VA',
  645. 'VC' => 'VC',
  646. 'VE' => 'VE',
  647. 'VG' => 'VG',
  648. 'VI' => 'VI',
  649. 'VN' => 'VN',
  650. 'VU' => 'VU',
  651. 'WF' => 'WF',
  652. 'WS' => 'WS',
  653. 'YE' => 'YE',
  654. 'YT' => 'YT',
  655. 'ZA' => 'ZA',
  656. 'ZM' => 'ZM',
  657. 'ZW' => 'ZW',
  658. ),
  659. 'default_country' => '',
  660. 'format_handlers' => array(
  661. 'address' => 'address',
  662. 'address-hide-postal-code' => 0,
  663. 'address-hide-street' => 0,
  664. 'address-hide-country' => 0,
  665. 'organisation' => 0,
  666. 'name-full' => 0,
  667. 'name-oneline' => 0,
  668. 'address-optional' => 0,
  669. ),
  670. ),
  671. 'type' => 'addressfield_standard',
  672. 'weight' => 7,
  673. ),
  674. );
  675. // Exported field_instance: 'node-showroom-field_public_email'.
  676. $field_instances['node-showroom-field_public_email'] = array(
  677. 'bundle' => 'showroom',
  678. 'default_value' => NULL,
  679. 'deleted' => 0,
  680. 'description' => '',
  681. 'display' => array(
  682. 'bookmark' => array(
  683. 'label' => 'above',
  684. 'settings' => array(),
  685. 'type' => 'hidden',
  686. 'weight' => 0,
  687. ),
  688. 'cardbig' => array(
  689. 'label' => 'above',
  690. 'settings' => array(),
  691. 'type' => 'hidden',
  692. 'weight' => 0,
  693. ),
  694. 'cardfull' => array(
  695. 'label' => 'above',
  696. 'settings' => array(),
  697. 'type' => 'hidden',
  698. 'weight' => 0,
  699. ),
  700. 'cardmedium' => array(
  701. 'label' => 'above',
  702. 'settings' => array(),
  703. 'type' => 'hidden',
  704. 'weight' => 0,
  705. ),
  706. 'cardsmall' => array(
  707. 'label' => 'above',
  708. 'settings' => array(),
  709. 'type' => 'hidden',
  710. 'weight' => 0,
  711. ),
  712. 'default' => array(
  713. 'label' => 'hidden',
  714. 'module' => 'email',
  715. 'settings' => array(),
  716. 'type' => 'email_default',
  717. 'weight' => 1,
  718. ),
  719. 'homeblock' => array(
  720. 'label' => 'above',
  721. 'settings' => array(),
  722. 'type' => 'hidden',
  723. 'weight' => 0,
  724. ),
  725. 'teaser' => array(
  726. 'label' => 'above',
  727. 'settings' => array(),
  728. 'type' => 'hidden',
  729. 'weight' => 0,
  730. ),
  731. ),
  732. 'entity_type' => 'node',
  733. 'field_name' => 'field_public_email',
  734. 'label' => 'Email',
  735. 'required' => 0,
  736. 'settings' => array(
  737. 'entity_translation_sync' => FALSE,
  738. 'user_register_form' => FALSE,
  739. ),
  740. 'widget' => array(
  741. 'active' => 1,
  742. 'module' => 'email',
  743. 'settings' => array(
  744. 'size' => 60,
  745. ),
  746. 'type' => 'email_textfield',
  747. 'weight' => 8,
  748. ),
  749. );
  750. // Exported field_instance: 'node-showroom-field_public_phone'.
  751. $field_instances['node-showroom-field_public_phone'] = array(
  752. 'bundle' => 'showroom',
  753. 'deleted' => 0,
  754. 'description' => '',
  755. 'display' => array(
  756. 'bookmark' => array(
  757. 'label' => 'above',
  758. 'settings' => array(),
  759. 'type' => 'hidden',
  760. 'weight' => 0,
  761. ),
  762. 'cardbig' => array(
  763. 'label' => 'above',
  764. 'settings' => array(),
  765. 'type' => 'hidden',
  766. 'weight' => 0,
  767. ),
  768. 'cardfull' => array(
  769. 'label' => 'above',
  770. 'settings' => array(),
  771. 'type' => 'hidden',
  772. 'weight' => 0,
  773. ),
  774. 'cardmedium' => array(
  775. 'label' => 'above',
  776. 'settings' => array(),
  777. 'type' => 'hidden',
  778. 'weight' => 0,
  779. ),
  780. 'cardsmall' => array(
  781. 'label' => 'above',
  782. 'settings' => array(),
  783. 'type' => 'hidden',
  784. 'weight' => 0,
  785. ),
  786. 'default' => array(
  787. 'label' => 'hidden',
  788. 'module' => 'cck_phone',
  789. 'settings' => array(),
  790. 'type' => 'global_phone_number',
  791. 'weight' => 2,
  792. ),
  793. 'homeblock' => array(
  794. 'label' => 'above',
  795. 'settings' => array(),
  796. 'type' => 'hidden',
  797. 'weight' => 0,
  798. ),
  799. 'teaser' => array(
  800. 'label' => 'above',
  801. 'settings' => array(),
  802. 'type' => 'hidden',
  803. 'weight' => 0,
  804. ),
  805. ),
  806. 'entity_type' => 'node',
  807. 'field_name' => 'field_public_phone',
  808. 'label' => 'Phone',
  809. 'required' => 0,
  810. 'settings' => array(
  811. 'all_country_codes' => 1,
  812. 'country_code_position' => 'after',
  813. 'country_codes' => array(
  814. 'country_selection' => array(
  815. 'ad' => 0,
  816. 'ae' => 0,
  817. 'af' => 0,
  818. 'ag' => 0,
  819. 'ai' => 0,
  820. 'al' => 0,
  821. 'am' => 0,
  822. 'an' => 0,
  823. 'ao' => 0,
  824. 'ar' => 0,
  825. 'as' => 0,
  826. 'at' => 0,
  827. 'au' => 0,
  828. 'aw' => 0,
  829. 'az' => 0,
  830. 'ba' => 0,
  831. 'bb' => 0,
  832. 'bd' => 0,
  833. 'be' => 0,
  834. 'bf' => 0,
  835. 'bg' => 0,
  836. 'bh' => 0,
  837. 'bi' => 0,
  838. 'bj' => 0,
  839. 'bm' => 0,
  840. 'bn' => 0,
  841. 'bo' => 0,
  842. 'br' => 0,
  843. 'bs' => 0,
  844. 'bt' => 0,
  845. 'bw' => 0,
  846. 'by' => 0,
  847. 'bz' => 0,
  848. 'ca' => 0,
  849. 'cc' => 0,
  850. 'cd' => 0,
  851. 'cf' => 0,
  852. 'cg' => 0,
  853. 'ch' => 0,
  854. 'ci' => 0,
  855. 'ck' => 0,
  856. 'cl' => 0,
  857. 'cm' => 0,
  858. 'cn' => 0,
  859. 'co' => 0,
  860. 'cr' => 0,
  861. 'cu' => 0,
  862. 'cv' => 0,
  863. 'cx' => 0,
  864. 'cy' => 0,
  865. 'cz' => 0,
  866. 'de' => 0,
  867. 'dj' => 0,
  868. 'dk' => 0,
  869. 'dm' => 0,
  870. 'do' => 0,
  871. 'dz' => 0,
  872. 'ec' => 0,
  873. 'ee' => 0,
  874. 'eg' => 0,
  875. 'er' => 0,
  876. 'es' => 0,
  877. 'et' => 0,
  878. 'fi' => 0,
  879. 'fj' => 0,
  880. 'fk' => 0,
  881. 'fm' => 0,
  882. 'fo' => 0,
  883. 'fr' => 0,
  884. 'ga' => 0,
  885. 'gb' => 0,
  886. 'gd' => 0,
  887. 'ge' => 0,
  888. 'gf' => 0,
  889. 'gh' => 0,
  890. 'gi' => 0,
  891. 'gl' => 0,
  892. 'gm' => 0,
  893. 'gn' => 0,
  894. 'gp' => 0,
  895. 'gq' => 0,
  896. 'gr' => 0,
  897. 'gt' => 0,
  898. 'gu' => 0,
  899. 'gw' => 0,
  900. 'gy' => 0,
  901. 'hk' => 0,
  902. 'hn' => 0,
  903. 'hr' => 0,
  904. 'ht' => 0,
  905. 'hu' => 0,
  906. 'id' => 0,
  907. 'ie' => 0,
  908. 'il' => 0,
  909. 'in' => 0,
  910. 'io' => 0,
  911. 'iq' => 0,
  912. 'ir' => 0,
  913. 'is' => 0,
  914. 'it' => 0,
  915. 'jm' => 0,
  916. 'jo' => 0,
  917. 'jp' => 0,
  918. 'ke' => 0,
  919. 'kg' => 0,
  920. 'kh' => 0,
  921. 'ki' => 0,
  922. 'km' => 0,
  923. 'kn' => 0,
  924. 'kp' => 0,
  925. 'kr' => 0,
  926. 'kw' => 0,
  927. 'ky' => 0,
  928. 'kz' => 0,
  929. 'la' => 0,
  930. 'lb' => 0,
  931. 'lc' => 0,
  932. 'li' => 0,
  933. 'lk' => 0,
  934. 'lr' => 0,
  935. 'ls' => 0,
  936. 'lt' => 0,
  937. 'lu' => 0,
  938. 'lv' => 0,
  939. 'ly' => 0,
  940. 'ma' => 0,
  941. 'mc' => 0,
  942. 'md' => 0,
  943. 'me' => 0,
  944. 'mg' => 0,
  945. 'mh' => 0,
  946. 'mk' => 0,
  947. 'ml' => 0,
  948. 'mm' => 0,
  949. 'mn' => 0,
  950. 'mo' => 0,
  951. 'mp' => 0,
  952. 'mq' => 0,
  953. 'mr' => 0,
  954. 'ms' => 0,
  955. 'mt' => 0,
  956. 'mu' => 0,
  957. 'mv' => 0,
  958. 'mw' => 0,
  959. 'mx' => 0,
  960. 'my' => 0,
  961. 'mz' => 0,
  962. 'na' => 0,
  963. 'nc' => 0,
  964. 'ne' => 0,
  965. 'nf' => 0,
  966. 'ng' => 0,
  967. 'ni' => 0,
  968. 'nl' => 0,
  969. 'no' => 0,
  970. 'np' => 0,
  971. 'nr' => 0,
  972. 'nu' => 0,
  973. 'nz' => 0,
  974. 'om' => 0,
  975. 'pa' => 0,
  976. 'pe' => 0,
  977. 'pf' => 0,
  978. 'pg' => 0,
  979. 'ph' => 0,
  980. 'pk' => 0,
  981. 'pl' => 0,
  982. 'pm' => 0,
  983. 'pr' => 0,
  984. 'ps' => 0,
  985. 'pt' => 0,
  986. 'pw' => 0,
  987. 'py' => 0,
  988. 'qa' => 0,
  989. 'ro' => 0,
  990. 'rs' => 0,
  991. 'ru' => 0,
  992. 'rw' => 0,
  993. 'sa' => 0,
  994. 'sb' => 0,
  995. 'sc' => 0,
  996. 'sd' => 0,
  997. 'se' => 0,
  998. 'sg' => 0,
  999. 'sh' => 0,
  1000. 'si' => 0,
  1001. 'sk' => 0,
  1002. 'sl' => 0,
  1003. 'sm' => 0,
  1004. 'sn' => 0,
  1005. 'so' => 0,
  1006. 'sr' => 0,
  1007. 'ss' => 0,
  1008. 'st' => 0,
  1009. 'sv' => 0,
  1010. 'sy' => 0,
  1011. 'sz' => 0,
  1012. 'tc' => 0,
  1013. 'td' => 0,
  1014. 'tg' => 0,
  1015. 'th' => 0,
  1016. 'tj' => 0,
  1017. 'tk' => 0,
  1018. 'tm' => 0,
  1019. 'tn' => 0,
  1020. 'to' => 0,
  1021. 'tp' => 0,
  1022. 'tr' => 0,
  1023. 'tt' => 0,
  1024. 'tv' => 0,
  1025. 'tw' => 0,
  1026. 'tz' => 0,
  1027. 'ua' => 0,
  1028. 'ug' => 0,
  1029. 'us' => 0,
  1030. 'uy' => 0,
  1031. 'uz' => 0,
  1032. 'va' => 0,
  1033. 'vc' => 0,
  1034. 've' => 0,
  1035. 'vg' => 0,
  1036. 'vi' => 0,
  1037. 'vn' => 0,
  1038. 'vu' => 0,
  1039. 'wf' => 0,
  1040. 'ws' => 0,
  1041. 'ye' => 0,
  1042. 'yt' => 0,
  1043. 'za' => 0,
  1044. 'zm' => 0,
  1045. 'zw' => 0,
  1046. ),
  1047. 'hide_single_cc' => 0,
  1048. ),
  1049. 'default_country' => 'af',
  1050. 'enable_country_level_validation' => 1,
  1051. 'enable_default_country' => 0,
  1052. 'enable_extension' => 0,
  1053. 'entity_translation_sync' => FALSE,
  1054. 'user_register_form' => FALSE,
  1055. ),
  1056. 'widget' => array(
  1057. 'active' => 0,
  1058. 'module' => 'cck_phone',
  1059. 'settings' => array(
  1060. 'size' => 15,
  1061. ),
  1062. 'type' => 'phone_number',
  1063. 'weight' => 9,
  1064. ),
  1065. );
  1066. // Exported field_instance: 'node-showroom-field_tode_showroom'.
  1067. $field_instances['node-showroom-field_tode_showroom'] = array(
  1068. 'bundle' => 'showroom',
  1069. 'deleted' => 0,
  1070. 'description' => '',
  1071. 'display' => array(
  1072. 'bookmark' => array(
  1073. 'label' => 'above',
  1074. 'settings' => array(),
  1075. 'type' => 'hidden',
  1076. 'weight' => 0,
  1077. ),
  1078. 'cardbig' => array(
  1079. 'label' => 'above',
  1080. 'settings' => array(),
  1081. 'type' => 'hidden',
  1082. 'weight' => 0,
  1083. ),
  1084. 'cardfull' => array(
  1085. 'label' => 'above',
  1086. 'settings' => array(),
  1087. 'type' => 'hidden',
  1088. 'weight' => 0,
  1089. ),
  1090. 'cardmedium' => array(
  1091. 'label' => 'above',
  1092. 'settings' => array(),
  1093. 'type' => 'hidden',
  1094. 'weight' => 0,
  1095. ),
  1096. 'cardsmall' => array(
  1097. 'label' => 'above',
  1098. 'settings' => array(),
  1099. 'type' => 'hidden',
  1100. 'weight' => 0,
  1101. ),
  1102. 'default' => array(
  1103. 'label' => 'hidden',
  1104. 'settings' => array(),
  1105. 'type' => 'hidden',
  1106. 'weight' => 4,
  1107. ),
  1108. 'homeblock' => array(
  1109. 'label' => 'above',
  1110. 'settings' => array(),
  1111. 'type' => 'hidden',
  1112. 'weight' => 0,
  1113. ),
  1114. 'teaser' => array(
  1115. 'label' => 'above',
  1116. 'settings' => array(),
  1117. 'type' => 'hidden',
  1118. 'weight' => 0,
  1119. ),
  1120. ),
  1121. 'entity_type' => 'node',
  1122. 'field_name' => 'field_tode_showroom',
  1123. 'label' => 'Showroom',
  1124. 'required' => 0,
  1125. 'settings' => array(
  1126. 'entity_translation_sync' => FALSE,
  1127. 'user_register_form' => FALSE,
  1128. ),
  1129. 'widget' => array(
  1130. 'active' => 1,
  1131. 'module' => 'tode',
  1132. 'settings' => array(
  1133. 'choose_term_parent' => 0,
  1134. 'maxlength' => 255,
  1135. 'redirect_node_to_term' => 0,
  1136. 'redirect_term_to_node' => 1,
  1137. 'show_create_tode' => 0,
  1138. 'show_term_form' => 0,
  1139. 'size' => 60,
  1140. ),
  1141. 'type' => 'tode',
  1142. 'weight' => 1,
  1143. ),
  1144. );
  1145. // Exported field_instance: 'taxonomy_term-showroom-description_field'.
  1146. $field_instances['taxonomy_term-showroom-description_field'] = array(
  1147. 'bundle' => 'showroom',
  1148. 'default_value' => NULL,
  1149. 'deleted' => 0,
  1150. 'description' => '',
  1151. 'display' => array(
  1152. 'default' => array(
  1153. 'label' => 'hidden',
  1154. 'settings' => array(),
  1155. 'type' => 'hidden',
  1156. 'weight' => 1,
  1157. ),
  1158. ),
  1159. 'entity_type' => 'taxonomy_term',
  1160. 'field_name' => 'description_field',
  1161. 'label' => 'Description',
  1162. 'required' => FALSE,
  1163. 'settings' => array(
  1164. 'display_summary' => 0,
  1165. 'entity_translation_sync' => FALSE,
  1166. 'hide_label' => array(
  1167. 'entity' => 'entity',
  1168. 'page' => 'page',
  1169. ),
  1170. 'text_processing' => 1,
  1171. 'user_register_form' => FALSE,
  1172. ),
  1173. 'widget' => array(
  1174. 'module' => 'text',
  1175. 'settings' => array(
  1176. 'rows' => 20,
  1177. 'summary_rows' => 5,
  1178. ),
  1179. 'type' => 'text_textarea_with_summary',
  1180. 'weight' => -5,
  1181. ),
  1182. );
  1183. // Exported field_instance: 'taxonomy_term-showroom-name_field'.
  1184. $field_instances['taxonomy_term-showroom-name_field'] = array(
  1185. 'bundle' => 'showroom',
  1186. 'default_value' => NULL,
  1187. 'deleted' => 0,
  1188. 'description' => '',
  1189. 'display' => array(
  1190. 'default' => array(
  1191. 'label' => 'hidden',
  1192. 'settings' => array(),
  1193. 'type' => 'hidden',
  1194. 'weight' => 0,
  1195. ),
  1196. ),
  1197. 'entity_type' => 'taxonomy_term',
  1198. 'field_name' => 'name_field',
  1199. 'label' => 'Nom',
  1200. 'required' => TRUE,
  1201. 'settings' => array(
  1202. 'entity_translation_sync' => FALSE,
  1203. 'hide_label' => array(
  1204. 'entity' => 'entity',
  1205. 'page' => 'page',
  1206. ),
  1207. 'text_processing' => 0,
  1208. 'user_register_form' => FALSE,
  1209. ),
  1210. 'widget' => array(
  1211. 'module' => 'text',
  1212. 'settings' => array(
  1213. 'size' => 60,
  1214. ),
  1215. 'type' => 'text_textfield',
  1216. 'weight' => -5,
  1217. ),
  1218. );
  1219. // Exported field_instance: 'user-user-field_showroom'.
  1220. $field_instances['user-user-field_showroom'] = array(
  1221. 'bundle' => 'user',
  1222. 'default_value' => NULL,
  1223. 'deleted' => 0,
  1224. 'description' => '',
  1225. 'display' => array(
  1226. 'default' => array(
  1227. 'label' => 'above',
  1228. 'module' => 'taxonomy',
  1229. 'settings' => array(),
  1230. 'type' => 'taxonomy_term_reference_link',
  1231. 'weight' => 2,
  1232. ),
  1233. ),
  1234. 'entity_type' => 'user',
  1235. 'field_name' => 'field_showroom',
  1236. 'label' => 'Showroom',
  1237. 'required' => 0,
  1238. 'settings' => array(
  1239. 'entity_translation_sync' => FALSE,
  1240. 'user_register_form' => 1,
  1241. ),
  1242. 'widget' => array(
  1243. 'active' => 1,
  1244. 'module' => 'options',
  1245. 'settings' => array(
  1246. 'content_taxonomy_opt_groups' => 0,
  1247. ),
  1248. 'type' => 'options_select',
  1249. 'weight' => 3,
  1250. ),
  1251. );
  1252. // Translatables
  1253. // Included for use with string extractors like potx.
  1254. t('Adresse');
  1255. t('Body');
  1256. t('Description');
  1257. t('Email');
  1258. t('Localisation');
  1259. t('Mémo');
  1260. t('Nom');
  1261. t('Phone');
  1262. t('Showroom');
  1263. t('[current-user:field-showroom:tid]');
  1264. t('showroom_localisation');
  1265. return $field_instances;
  1266. }