materio_user_profiles.features.field_instance.inc 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357
  1. <?php
  2. /**
  3. * @file
  4. * materio_user_profiles.features.field_instance.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_instances().
  8. */
  9. function materio_user_profiles_field_default_field_instances() {
  10. $field_instances = array();
  11. // Exported field_instance: 'profile2-adherent-field_activity_sector'
  12. $field_instances['profile2-adherent-field_activity_sector'] = array(
  13. 'bundle' => 'adherent',
  14. 'default_value' => NULL,
  15. 'deleted' => 0,
  16. 'description' => '',
  17. 'display' => array(
  18. 'default' => array(
  19. 'label' => 'above',
  20. 'module' => 'text',
  21. 'settings' => array(),
  22. 'type' => 'text_default',
  23. 'weight' => 13,
  24. ),
  25. ),
  26. 'entity_type' => 'profile2',
  27. 'field_name' => 'field_activity_sector',
  28. 'label' => 'Activity sector',
  29. 'required' => 0,
  30. 'settings' => array(
  31. 'entity_translation_sync' => FALSE,
  32. 'text_processing' => 0,
  33. 'user_register_form' => FALSE,
  34. ),
  35. 'widget' => array(
  36. 'active' => 1,
  37. 'module' => 'text',
  38. 'settings' => array(
  39. 'size' => 60,
  40. ),
  41. 'type' => 'text_textfield',
  42. 'weight' => 4,
  43. ),
  44. );
  45. // Exported field_instance: 'profile2-adherent-field_administrative_email'
  46. $field_instances['profile2-adherent-field_administrative_email'] = array(
  47. 'bundle' => 'adherent',
  48. 'default_value' => NULL,
  49. 'deleted' => 0,
  50. 'description' => '',
  51. 'display' => array(
  52. 'default' => array(
  53. 'label' => 'above',
  54. 'module' => 'email',
  55. 'settings' => array(),
  56. 'type' => 'email_default',
  57. 'weight' => 15,
  58. ),
  59. ),
  60. 'entity_type' => 'profile2',
  61. 'field_name' => 'field_administrative_email',
  62. 'label' => 'Administrative email',
  63. 'required' => 0,
  64. 'settings' => array(
  65. 'entity_translation_sync' => FALSE,
  66. 'user_register_form' => FALSE,
  67. ),
  68. 'widget' => array(
  69. 'active' => 1,
  70. 'module' => 'email',
  71. 'settings' => array(
  72. 'size' => 60,
  73. ),
  74. 'type' => 'email_textfield',
  75. 'weight' => 11,
  76. ),
  77. );
  78. // Exported field_instance: 'profile2-adherent-field_adresse'
  79. $field_instances['profile2-adherent-field_adresse'] = array(
  80. 'bundle' => 'adherent',
  81. 'default_value' => NULL,
  82. 'deleted' => 0,
  83. 'description' => '',
  84. 'display' => array(
  85. 'default' => array(
  86. 'label' => 'above',
  87. 'module' => 'addressfield',
  88. 'settings' => array(
  89. 'format_handlers' => array(
  90. 0 => 'address',
  91. ),
  92. 'use_widget_handlers' => 1,
  93. ),
  94. 'type' => 'addressfield_default',
  95. 'weight' => 5,
  96. ),
  97. ),
  98. 'entity_type' => 'profile2',
  99. 'field_name' => 'field_adresse',
  100. 'label' => 'Adresse',
  101. 'required' => 0,
  102. 'settings' => array(
  103. 'entity_translation_sync' => FALSE,
  104. 'user_register_form' => FALSE,
  105. ),
  106. 'widget' => array(
  107. 'active' => 1,
  108. 'module' => 'addressfield',
  109. 'settings' => array(
  110. 'available_countries' => array(),
  111. 'default_country' => '',
  112. 'format_handlers' => array(
  113. 'address' => 'address',
  114. 'address-hide-country' => 0,
  115. 'organisation' => 0,
  116. 'name-full' => 0,
  117. 'name-oneline' => 0,
  118. ),
  119. ),
  120. 'type' => 'addressfield_standard',
  121. 'weight' => 14,
  122. ),
  123. );
  124. // Exported field_instance: 'profile2-adherent-field_employee'
  125. $field_instances['profile2-adherent-field_employee'] = array(
  126. 'bundle' => 'adherent',
  127. 'default_value' => NULL,
  128. 'deleted' => 0,
  129. 'description' => '',
  130. 'display' => array(
  131. 'default' => array(
  132. 'label' => 'above',
  133. 'module' => 'number',
  134. 'settings' => array(
  135. 'decimal_separator' => '.',
  136. 'prefix_suffix' => TRUE,
  137. 'scale' => 0,
  138. 'thousand_separator' => ' ',
  139. ),
  140. 'type' => 'number_integer',
  141. 'weight' => 10,
  142. ),
  143. ),
  144. 'entity_type' => 'profile2',
  145. 'field_name' => 'field_employee',
  146. 'label' => 'Employee',
  147. 'required' => 0,
  148. 'settings' => array(
  149. 'entity_translation_sync' => FALSE,
  150. 'max' => '',
  151. 'min' => 1,
  152. 'prefix' => '',
  153. 'suffix' => '',
  154. 'user_register_form' => FALSE,
  155. ),
  156. 'widget' => array(
  157. 'active' => 0,
  158. 'module' => 'number',
  159. 'settings' => array(),
  160. 'type' => 'number',
  161. 'weight' => 7,
  162. ),
  163. );
  164. // Exported field_instance: 'profile2-adherent-field_first_name'
  165. $field_instances['profile2-adherent-field_first_name'] = array(
  166. 'bundle' => 'adherent',
  167. 'default_value' => NULL,
  168. 'deleted' => 0,
  169. 'description' => '',
  170. 'display' => array(
  171. 'default' => array(
  172. 'label' => 'above',
  173. 'module' => 'text',
  174. 'settings' => array(),
  175. 'type' => 'text_default',
  176. 'weight' => 1,
  177. ),
  178. ),
  179. 'entity_type' => 'profile2',
  180. 'field_name' => 'field_first_name',
  181. 'label' => 'First name',
  182. 'required' => 0,
  183. 'settings' => array(
  184. 'entity_translation_sync' => FALSE,
  185. 'text_processing' => 0,
  186. 'user_register_form' => FALSE,
  187. ),
  188. 'widget' => array(
  189. 'active' => 1,
  190. 'module' => 'text',
  191. 'settings' => array(
  192. 'size' => 60,
  193. ),
  194. 'type' => 'text_textfield',
  195. 'weight' => 1,
  196. ),
  197. );
  198. // Exported field_instance: 'profile2-adherent-field_naf'
  199. $field_instances['profile2-adherent-field_naf'] = array(
  200. 'bundle' => 'adherent',
  201. 'default_value' => NULL,
  202. 'deleted' => 0,
  203. 'description' => '',
  204. 'display' => array(
  205. 'default' => array(
  206. 'label' => 'above',
  207. 'module' => 'text',
  208. 'settings' => array(),
  209. 'type' => 'text_default',
  210. 'weight' => 11,
  211. ),
  212. ),
  213. 'entity_type' => 'profile2',
  214. 'field_name' => 'field_naf',
  215. 'label' => 'NAF',
  216. 'required' => 0,
  217. 'settings' => array(
  218. 'entity_translation_sync' => FALSE,
  219. 'text_processing' => 0,
  220. 'user_register_form' => FALSE,
  221. ),
  222. 'widget' => array(
  223. 'active' => 1,
  224. 'module' => 'text',
  225. 'settings' => array(
  226. 'size' => 60,
  227. ),
  228. 'type' => 'text_textfield',
  229. 'weight' => 8,
  230. ),
  231. );
  232. // Exported field_instance: 'profile2-adherent-field_name'
  233. $field_instances['profile2-adherent-field_name'] = array(
  234. 'bundle' => 'adherent',
  235. 'default_value' => NULL,
  236. 'deleted' => 0,
  237. 'description' => '',
  238. 'display' => array(
  239. 'default' => array(
  240. 'label' => 'above',
  241. 'module' => 'text',
  242. 'settings' => array(),
  243. 'type' => 'text_default',
  244. 'weight' => 2,
  245. ),
  246. ),
  247. 'entity_type' => 'profile2',
  248. 'field_name' => 'field_name',
  249. 'label' => 'Name',
  250. 'required' => 0,
  251. 'settings' => array(
  252. 'entity_translation_sync' => FALSE,
  253. 'text_processing' => 0,
  254. 'user_register_form' => FALSE,
  255. ),
  256. 'widget' => array(
  257. 'active' => 1,
  258. 'module' => 'text',
  259. 'settings' => array(
  260. 'size' => 60,
  261. ),
  262. 'type' => 'text_textfield',
  263. 'weight' => 2,
  264. ),
  265. );
  266. // Exported field_instance: 'profile2-adherent-field_organization'
  267. $field_instances['profile2-adherent-field_organization'] = array(
  268. 'bundle' => 'adherent',
  269. 'default_value' => NULL,
  270. 'deleted' => 0,
  271. 'description' => '',
  272. 'display' => array(
  273. 'default' => array(
  274. 'label' => 'above',
  275. 'module' => 'text',
  276. 'settings' => array(),
  277. 'type' => 'text_default',
  278. 'weight' => 6,
  279. ),
  280. ),
  281. 'entity_type' => 'profile2',
  282. 'field_name' => 'field_organization',
  283. 'label' => 'Organization',
  284. 'required' => 0,
  285. 'settings' => array(
  286. 'entity_translation_sync' => FALSE,
  287. 'text_processing' => 0,
  288. 'user_register_form' => FALSE,
  289. ),
  290. 'widget' => array(
  291. 'active' => 1,
  292. 'module' => 'text',
  293. 'settings' => array(
  294. 'size' => 60,
  295. ),
  296. 'type' => 'text_textfield',
  297. 'weight' => 3,
  298. ),
  299. );
  300. // Exported field_instance: 'profile2-adherent-field_private_name_title'
  301. $field_instances['profile2-adherent-field_private_name_title'] = array(
  302. 'bundle' => 'adherent',
  303. 'default_value' => NULL,
  304. 'deleted' => 0,
  305. 'description' => '',
  306. 'display' => array(
  307. 'default' => array(
  308. 'label' => 'above',
  309. 'module' => 'list',
  310. 'settings' => array(),
  311. 'type' => 'list_default',
  312. 'weight' => 4,
  313. ),
  314. ),
  315. 'entity_type' => 'profile2',
  316. 'field_name' => 'field_private_name_title',
  317. 'label' => 'Titre',
  318. 'required' => 0,
  319. 'settings' => array(
  320. 'entity_translation_sync' => FALSE,
  321. 'user_register_form' => FALSE,
  322. ),
  323. 'widget' => array(
  324. 'active' => 1,
  325. 'module' => 'options',
  326. 'settings' => array(
  327. 'content_taxonomy_opt_groups' => FALSE,
  328. ),
  329. 'type' => 'options_select',
  330. 'weight' => 0,
  331. ),
  332. );
  333. // Exported field_instance: 'profile2-adherent-field_private_phone'
  334. $field_instances['profile2-adherent-field_private_phone'] = array(
  335. 'bundle' => 'adherent',
  336. 'deleted' => 0,
  337. 'description' => '',
  338. 'display' => array(
  339. 'default' => array(
  340. 'label' => 'above',
  341. 'module' => 'cck_phone',
  342. 'settings' => array(),
  343. 'type' => 'global_phone_number',
  344. 'weight' => 3,
  345. ),
  346. ),
  347. 'entity_type' => 'profile2',
  348. 'field_name' => 'field_private_phone',
  349. 'label' => 'Phone',
  350. 'required' => 0,
  351. 'settings' => array(
  352. 'all_country_codes' => 1,
  353. 'country_code_position' => 'after',
  354. 'country_codes' => array(
  355. 'country_selection' => array(
  356. 'ad' => 0,
  357. 'ae' => 0,
  358. 'af' => 0,
  359. 'ag' => 0,
  360. 'ai' => 0,
  361. 'al' => 0,
  362. 'am' => 0,
  363. 'an' => 0,
  364. 'ao' => 0,
  365. 'ar' => 0,
  366. 'as' => 0,
  367. 'at' => 0,
  368. 'au' => 0,
  369. 'aw' => 0,
  370. 'az' => 0,
  371. 'ba' => 0,
  372. 'bb' => 0,
  373. 'bd' => 0,
  374. 'be' => 0,
  375. 'bf' => 0,
  376. 'bg' => 0,
  377. 'bh' => 0,
  378. 'bi' => 0,
  379. 'bj' => 0,
  380. 'bm' => 0,
  381. 'bn' => 0,
  382. 'bo' => 0,
  383. 'br' => 0,
  384. 'bs' => 0,
  385. 'bt' => 0,
  386. 'bw' => 0,
  387. 'by' => 0,
  388. 'bz' => 0,
  389. 'ca' => 0,
  390. 'cc' => 0,
  391. 'cd' => 0,
  392. 'cf' => 0,
  393. 'cg' => 0,
  394. 'ch' => 0,
  395. 'ci' => 0,
  396. 'ck' => 0,
  397. 'cl' => 0,
  398. 'cm' => 0,
  399. 'cn' => 0,
  400. 'co' => 0,
  401. 'cr' => 0,
  402. 'cu' => 0,
  403. 'cv' => 0,
  404. 'cx' => 0,
  405. 'cy' => 0,
  406. 'cz' => 0,
  407. 'de' => 0,
  408. 'dj' => 0,
  409. 'dk' => 0,
  410. 'dm' => 0,
  411. 'do' => 0,
  412. 'dz' => 0,
  413. 'ec' => 0,
  414. 'ee' => 0,
  415. 'eg' => 0,
  416. 'er' => 0,
  417. 'es' => 0,
  418. 'et' => 0,
  419. 'fi' => 0,
  420. 'fj' => 0,
  421. 'fk' => 0,
  422. 'fm' => 0,
  423. 'fo' => 0,
  424. 'fr' => 0,
  425. 'ga' => 0,
  426. 'gb' => 0,
  427. 'gd' => 0,
  428. 'ge' => 0,
  429. 'gf' => 0,
  430. 'gh' => 0,
  431. 'gi' => 0,
  432. 'gl' => 0,
  433. 'gm' => 0,
  434. 'gn' => 0,
  435. 'gp' => 0,
  436. 'gq' => 0,
  437. 'gr' => 0,
  438. 'gt' => 0,
  439. 'gu' => 0,
  440. 'gw' => 0,
  441. 'gy' => 0,
  442. 'hk' => 0,
  443. 'hn' => 0,
  444. 'hr' => 0,
  445. 'ht' => 0,
  446. 'hu' => 0,
  447. 'id' => 0,
  448. 'ie' => 0,
  449. 'il' => 0,
  450. 'in' => 0,
  451. 'io' => 0,
  452. 'iq' => 0,
  453. 'ir' => 0,
  454. 'is' => 0,
  455. 'it' => 0,
  456. 'jm' => 0,
  457. 'jo' => 0,
  458. 'jp' => 0,
  459. 'ke' => 0,
  460. 'kg' => 0,
  461. 'kh' => 0,
  462. 'ki' => 0,
  463. 'km' => 0,
  464. 'kn' => 0,
  465. 'kp' => 0,
  466. 'kr' => 0,
  467. 'kw' => 0,
  468. 'ky' => 0,
  469. 'kz' => 0,
  470. 'la' => 0,
  471. 'lb' => 0,
  472. 'lc' => 0,
  473. 'li' => 0,
  474. 'lk' => 0,
  475. 'lr' => 0,
  476. 'ls' => 0,
  477. 'lt' => 0,
  478. 'lu' => 0,
  479. 'lv' => 0,
  480. 'ly' => 0,
  481. 'ma' => 0,
  482. 'mc' => 0,
  483. 'md' => 0,
  484. 'me' => 0,
  485. 'mg' => 0,
  486. 'mh' => 0,
  487. 'mk' => 0,
  488. 'ml' => 0,
  489. 'mm' => 0,
  490. 'mn' => 0,
  491. 'mo' => 0,
  492. 'mp' => 0,
  493. 'mq' => 0,
  494. 'mr' => 0,
  495. 'ms' => 0,
  496. 'mt' => 0,
  497. 'mu' => 0,
  498. 'mv' => 0,
  499. 'mw' => 0,
  500. 'mx' => 0,
  501. 'my' => 0,
  502. 'mz' => 0,
  503. 'na' => 0,
  504. 'nc' => 0,
  505. 'ne' => 0,
  506. 'nf' => 0,
  507. 'ng' => 0,
  508. 'ni' => 0,
  509. 'nl' => 0,
  510. 'no' => 0,
  511. 'np' => 0,
  512. 'nr' => 0,
  513. 'nu' => 0,
  514. 'nz' => 0,
  515. 'om' => 0,
  516. 'pa' => 0,
  517. 'pe' => 0,
  518. 'pf' => 0,
  519. 'pg' => 0,
  520. 'ph' => 0,
  521. 'pk' => 0,
  522. 'pl' => 0,
  523. 'pm' => 0,
  524. 'pr' => 0,
  525. 'ps' => 0,
  526. 'pt' => 0,
  527. 'pw' => 0,
  528. 'py' => 0,
  529. 'qa' => 0,
  530. 'ro' => 0,
  531. 'rs' => 0,
  532. 'ru' => 0,
  533. 'rw' => 0,
  534. 'sa' => 0,
  535. 'sb' => 0,
  536. 'sc' => 0,
  537. 'sd' => 0,
  538. 'se' => 0,
  539. 'sg' => 0,
  540. 'sh' => 0,
  541. 'si' => 0,
  542. 'sk' => 0,
  543. 'sl' => 0,
  544. 'sm' => 0,
  545. 'sn' => 0,
  546. 'so' => 0,
  547. 'sr' => 0,
  548. 'ss' => 0,
  549. 'st' => 0,
  550. 'sv' => 0,
  551. 'sy' => 0,
  552. 'sz' => 0,
  553. 'tc' => 0,
  554. 'td' => 0,
  555. 'tg' => 0,
  556. 'th' => 0,
  557. 'tj' => 0,
  558. 'tk' => 0,
  559. 'tm' => 0,
  560. 'tn' => 0,
  561. 'to' => 0,
  562. 'tp' => 0,
  563. 'tr' => 0,
  564. 'tt' => 0,
  565. 'tv' => 0,
  566. 'tw' => 0,
  567. 'tz' => 0,
  568. 'ua' => 0,
  569. 'ug' => 0,
  570. 'us' => 0,
  571. 'uy' => 0,
  572. 'uz' => 0,
  573. 'va' => 0,
  574. 'vc' => 0,
  575. 've' => 0,
  576. 'vg' => 0,
  577. 'vi' => 0,
  578. 'vn' => 0,
  579. 'vu' => 0,
  580. 'wf' => 0,
  581. 'ws' => 0,
  582. 'ye' => 0,
  583. 'yt' => 0,
  584. 'za' => 0,
  585. 'zm' => 0,
  586. 'zw' => 0,
  587. ),
  588. 'hide_single_cc' => 0,
  589. ),
  590. 'default_country' => 'fr',
  591. 'enable_country_level_validation' => 1,
  592. 'enable_default_country' => 1,
  593. 'enable_extension' => 0,
  594. 'entity_translation_sync' => FALSE,
  595. 'user_register_form' => FALSE,
  596. ),
  597. 'widget' => array(
  598. 'active' => 0,
  599. 'module' => 'cck_phone',
  600. 'settings' => array(
  601. 'size' => 15,
  602. ),
  603. 'type' => 'phone_number',
  604. 'weight' => 13,
  605. ),
  606. );
  607. // Exported field_instance: 'profile2-adherent-field_private_quality'
  608. $field_instances['profile2-adherent-field_private_quality'] = array(
  609. 'bundle' => 'adherent',
  610. 'default_value' => NULL,
  611. 'deleted' => 0,
  612. 'description' => '',
  613. 'display' => array(
  614. 'default' => array(
  615. 'label' => 'above',
  616. 'module' => 'text',
  617. 'settings' => array(),
  618. 'type' => 'text_default',
  619. 'weight' => 0,
  620. ),
  621. ),
  622. 'entity_type' => 'profile2',
  623. 'field_name' => 'field_private_quality',
  624. 'label' => 'Qualité',
  625. 'required' => 0,
  626. 'settings' => array(
  627. 'entity_translation_sync' => FALSE,
  628. 'text_processing' => 0,
  629. 'user_register_form' => FALSE,
  630. ),
  631. 'widget' => array(
  632. 'active' => 1,
  633. 'module' => 'text',
  634. 'settings' => array(
  635. 'size' => 60,
  636. ),
  637. 'type' => 'text_textfield',
  638. 'weight' => 5,
  639. ),
  640. );
  641. // Exported field_instance: 'profile2-adherent-field_service'
  642. $field_instances['profile2-adherent-field_service'] = array(
  643. 'bundle' => 'adherent',
  644. 'default_value' => NULL,
  645. 'deleted' => 0,
  646. 'description' => '',
  647. 'display' => array(
  648. 'default' => array(
  649. 'label' => 'above',
  650. 'module' => 'text',
  651. 'settings' => array(),
  652. 'type' => 'text_default',
  653. 'weight' => 8,
  654. ),
  655. ),
  656. 'entity_type' => 'profile2',
  657. 'field_name' => 'field_service',
  658. 'label' => 'service',
  659. 'required' => 0,
  660. 'settings' => array(
  661. 'entity_translation_sync' => FALSE,
  662. 'text_processing' => 0,
  663. 'user_register_form' => FALSE,
  664. ),
  665. 'widget' => array(
  666. 'active' => 1,
  667. 'module' => 'text',
  668. 'settings' => array(
  669. 'size' => 60,
  670. ),
  671. 'type' => 'text_textfield',
  672. 'weight' => 6,
  673. ),
  674. );
  675. // Exported field_instance: 'profile2-adherent-field_siret'
  676. $field_instances['profile2-adherent-field_siret'] = array(
  677. 'bundle' => 'adherent',
  678. 'default_value' => NULL,
  679. 'deleted' => 0,
  680. 'description' => '',
  681. 'display' => array(
  682. 'default' => array(
  683. 'label' => 'above',
  684. 'module' => 'text',
  685. 'settings' => array(),
  686. 'type' => 'text_default',
  687. 'weight' => 12,
  688. ),
  689. ),
  690. 'entity_type' => 'profile2',
  691. 'field_name' => 'field_siret',
  692. 'label' => 'SIRET',
  693. 'required' => 0,
  694. 'settings' => array(
  695. 'entity_translation_sync' => FALSE,
  696. 'text_processing' => 0,
  697. 'user_register_form' => FALSE,
  698. ),
  699. 'widget' => array(
  700. 'active' => 1,
  701. 'module' => 'text',
  702. 'settings' => array(
  703. 'size' => 60,
  704. ),
  705. 'type' => 'text_textfield',
  706. 'weight' => 9,
  707. ),
  708. );
  709. // Exported field_instance: 'profile2-adherent-field_user_website'
  710. $field_instances['profile2-adherent-field_user_website'] = array(
  711. 'bundle' => 'adherent',
  712. 'default_value' => NULL,
  713. 'deleted' => 0,
  714. 'description' => '',
  715. 'display' => array(
  716. 'default' => array(
  717. 'label' => 'above',
  718. 'module' => 'link',
  719. 'settings' => array(),
  720. 'type' => 'link_default',
  721. 'weight' => 7,
  722. ),
  723. ),
  724. 'entity_type' => 'profile2',
  725. 'field_name' => 'field_user_website',
  726. 'label' => 'Website',
  727. 'required' => 0,
  728. 'settings' => array(
  729. 'absolute_url' => 1,
  730. 'attributes' => array(
  731. 'class' => '',
  732. 'configurable_title' => 0,
  733. 'rel' => '',
  734. 'target' => '_blank',
  735. 'title' => '',
  736. ),
  737. 'display' => array(
  738. 'url_cutoff' => 80,
  739. ),
  740. 'enable_tokens' => 1,
  741. 'entity_translation_sync' => FALSE,
  742. 'rel_remove' => 'default',
  743. 'title' => 'none',
  744. 'title_label_use_field_label' => FALSE,
  745. 'title_maxlength' => 128,
  746. 'title_value' => 'website',
  747. 'url' => 0,
  748. 'user_register_form' => FALSE,
  749. 'validate_url' => 1,
  750. ),
  751. 'widget' => array(
  752. 'active' => 0,
  753. 'module' => 'link',
  754. 'settings' => array(),
  755. 'type' => 'link_field',
  756. 'weight' => 12,
  757. ),
  758. );
  759. // Exported field_instance: 'profile2-adherent-field_vat_number_intra_ce'
  760. $field_instances['profile2-adherent-field_vat_number_intra_ce'] = array(
  761. 'bundle' => 'adherent',
  762. 'default_value' => NULL,
  763. 'deleted' => 0,
  764. 'description' => '',
  765. 'display' => array(
  766. 'default' => array(
  767. 'label' => 'above',
  768. 'module' => 'text',
  769. 'settings' => array(),
  770. 'type' => 'text_default',
  771. 'weight' => 14,
  772. ),
  773. ),
  774. 'entity_type' => 'profile2',
  775. 'field_name' => 'field_vat_number_intra_ce',
  776. 'label' => 'VAT number intra CE',
  777. 'required' => 0,
  778. 'settings' => array(
  779. 'entity_translation_sync' => FALSE,
  780. 'text_processing' => 0,
  781. 'user_register_form' => FALSE,
  782. ),
  783. 'widget' => array(
  784. 'active' => 1,
  785. 'module' => 'text',
  786. 'settings' => array(
  787. 'size' => 60,
  788. ),
  789. 'type' => 'text_textfield',
  790. 'weight' => 10,
  791. ),
  792. );
  793. // Exported field_instance: 'profile2-contact_operationnel-field_memo'
  794. $field_instances['profile2-contact_operationnel-field_memo'] = array(
  795. 'bundle' => 'contact_operationnel',
  796. 'default_value' => NULL,
  797. 'deleted' => 0,
  798. 'description' => '',
  799. 'display' => array(
  800. 'default' => array(
  801. 'label' => 'above',
  802. 'module' => 'text',
  803. 'settings' => array(),
  804. 'type' => 'text_default',
  805. 'weight' => 21,
  806. ),
  807. ),
  808. 'entity_type' => 'profile2',
  809. 'field_name' => 'field_memo',
  810. 'label' => 'Mémo',
  811. 'required' => 0,
  812. 'settings' => array(
  813. 'entity_translation_sync' => FALSE,
  814. 'text_processing' => 0,
  815. 'user_register_form' => FALSE,
  816. ),
  817. 'widget' => array(
  818. 'active' => 1,
  819. 'module' => 'text',
  820. 'settings' => array(
  821. 'rows' => 10,
  822. ),
  823. 'type' => 'text_textarea',
  824. 'weight' => 6,
  825. ),
  826. );
  827. // Exported field_instance:
  828. // 'profile2-contact_operationnel-field_private_email'
  829. $field_instances['profile2-contact_operationnel-field_private_email'] = array(
  830. 'bundle' => 'contact_operationnel',
  831. 'default_value' => NULL,
  832. 'deleted' => 0,
  833. 'description' => '',
  834. 'display' => array(
  835. 'default' => array(
  836. 'label' => 'above',
  837. 'module' => 'email',
  838. 'settings' => array(),
  839. 'type' => 'email_default',
  840. 'weight' => 24,
  841. ),
  842. ),
  843. 'entity_type' => 'profile2',
  844. 'field_name' => 'field_private_email',
  845. 'label' => 'Email',
  846. 'required' => 0,
  847. 'settings' => array(
  848. 'entity_translation_sync' => FALSE,
  849. 'user_register_form' => FALSE,
  850. ),
  851. 'widget' => array(
  852. 'active' => 1,
  853. 'module' => 'email',
  854. 'settings' => array(
  855. 'size' => 30,
  856. ),
  857. 'type' => 'email_textfield',
  858. 'weight' => 3,
  859. ),
  860. );
  861. // Exported field_instance: 'profile2-contact_operationnel-field_private_name'
  862. $field_instances['profile2-contact_operationnel-field_private_name'] = array(
  863. 'bundle' => 'contact_operationnel',
  864. 'default_value' => NULL,
  865. 'deleted' => 0,
  866. 'description' => '',
  867. 'display' => array(
  868. 'default' => array(
  869. 'label' => 'above',
  870. 'module' => 'text',
  871. 'settings' => array(),
  872. 'type' => 'text_default',
  873. 'weight' => 16,
  874. ),
  875. ),
  876. 'entity_type' => 'profile2',
  877. 'field_name' => 'field_private_name',
  878. 'label' => 'Name',
  879. 'required' => 0,
  880. 'settings' => array(
  881. 'entity_translation_sync' => FALSE,
  882. 'text_processing' => 0,
  883. 'user_register_form' => FALSE,
  884. ),
  885. 'widget' => array(
  886. 'active' => 1,
  887. 'module' => 'text',
  888. 'settings' => array(
  889. 'size' => 60,
  890. ),
  891. 'type' => 'text_textfield',
  892. 'weight' => 1,
  893. ),
  894. );
  895. // Exported field_instance:
  896. // 'profile2-contact_operationnel-field_private_name_title'
  897. $field_instances['profile2-contact_operationnel-field_private_name_title'] = array(
  898. 'bundle' => 'contact_operationnel',
  899. 'default_value' => NULL,
  900. 'deleted' => 0,
  901. 'description' => '',
  902. 'display' => array(
  903. 'default' => array(
  904. 'label' => 'above',
  905. 'module' => 'list',
  906. 'settings' => array(),
  907. 'type' => 'list_default',
  908. 'weight' => 15,
  909. ),
  910. ),
  911. 'entity_type' => 'profile2',
  912. 'field_name' => 'field_private_name_title',
  913. 'label' => 'Title',
  914. 'required' => 0,
  915. 'settings' => array(
  916. 'entity_translation_sync' => FALSE,
  917. 'user_register_form' => FALSE,
  918. ),
  919. 'widget' => array(
  920. 'active' => 1,
  921. 'module' => 'options',
  922. 'settings' => array(
  923. 'content_taxonomy_opt_groups' => FALSE,
  924. ),
  925. 'type' => 'options_select',
  926. 'weight' => 0,
  927. ),
  928. );
  929. // Exported field_instance:
  930. // 'profile2-contact_operationnel-field_private_phone'
  931. $field_instances['profile2-contact_operationnel-field_private_phone'] = array(
  932. 'bundle' => 'contact_operationnel',
  933. 'deleted' => 0,
  934. 'description' => '',
  935. 'display' => array(
  936. 'default' => array(
  937. 'label' => 'above',
  938. 'module' => 'cck_phone',
  939. 'settings' => array(),
  940. 'type' => 'global_phone_number',
  941. 'weight' => 20,
  942. ),
  943. ),
  944. 'entity_type' => 'profile2',
  945. 'field_name' => 'field_private_phone',
  946. 'label' => 'Phone',
  947. 'required' => 0,
  948. 'settings' => array(
  949. 'all_country_codes' => 1,
  950. 'country_code_position' => 'after',
  951. 'country_codes' => array(
  952. 'country_selection' => array(
  953. 'ad' => 0,
  954. 'ae' => 0,
  955. 'af' => 0,
  956. 'ag' => 0,
  957. 'ai' => 0,
  958. 'al' => 0,
  959. 'am' => 0,
  960. 'an' => 0,
  961. 'ao' => 0,
  962. 'ar' => 0,
  963. 'as' => 0,
  964. 'at' => 0,
  965. 'au' => 0,
  966. 'aw' => 0,
  967. 'az' => 0,
  968. 'ba' => 0,
  969. 'bb' => 0,
  970. 'bd' => 0,
  971. 'be' => 0,
  972. 'bf' => 0,
  973. 'bg' => 0,
  974. 'bh' => 0,
  975. 'bi' => 0,
  976. 'bj' => 0,
  977. 'bm' => 0,
  978. 'bn' => 0,
  979. 'bo' => 0,
  980. 'br' => 0,
  981. 'bs' => 0,
  982. 'bt' => 0,
  983. 'bw' => 0,
  984. 'by' => 0,
  985. 'bz' => 0,
  986. 'ca' => 0,
  987. 'cc' => 0,
  988. 'cd' => 0,
  989. 'cf' => 0,
  990. 'cg' => 0,
  991. 'ch' => 0,
  992. 'ci' => 0,
  993. 'ck' => 0,
  994. 'cl' => 0,
  995. 'cm' => 0,
  996. 'cn' => 0,
  997. 'co' => 0,
  998. 'cr' => 0,
  999. 'cu' => 0,
  1000. 'cv' => 0,
  1001. 'cx' => 0,
  1002. 'cy' => 0,
  1003. 'cz' => 0,
  1004. 'de' => 0,
  1005. 'dj' => 0,
  1006. 'dk' => 0,
  1007. 'dm' => 0,
  1008. 'do' => 0,
  1009. 'dz' => 0,
  1010. 'ec' => 0,
  1011. 'ee' => 0,
  1012. 'eg' => 0,
  1013. 'er' => 0,
  1014. 'es' => 0,
  1015. 'et' => 0,
  1016. 'fi' => 0,
  1017. 'fj' => 0,
  1018. 'fk' => 0,
  1019. 'fm' => 0,
  1020. 'fo' => 0,
  1021. 'fr' => 0,
  1022. 'ga' => 0,
  1023. 'gb' => 0,
  1024. 'gd' => 0,
  1025. 'ge' => 0,
  1026. 'gf' => 0,
  1027. 'gh' => 0,
  1028. 'gi' => 0,
  1029. 'gl' => 0,
  1030. 'gm' => 0,
  1031. 'gn' => 0,
  1032. 'gp' => 0,
  1033. 'gq' => 0,
  1034. 'gr' => 0,
  1035. 'gt' => 0,
  1036. 'gu' => 0,
  1037. 'gw' => 0,
  1038. 'gy' => 0,
  1039. 'hk' => 0,
  1040. 'hn' => 0,
  1041. 'hr' => 0,
  1042. 'ht' => 0,
  1043. 'hu' => 0,
  1044. 'id' => 0,
  1045. 'ie' => 0,
  1046. 'il' => 0,
  1047. 'in' => 0,
  1048. 'io' => 0,
  1049. 'iq' => 0,
  1050. 'ir' => 0,
  1051. 'is' => 0,
  1052. 'it' => 0,
  1053. 'jm' => 0,
  1054. 'jo' => 0,
  1055. 'jp' => 0,
  1056. 'ke' => 0,
  1057. 'kg' => 0,
  1058. 'kh' => 0,
  1059. 'ki' => 0,
  1060. 'km' => 0,
  1061. 'kn' => 0,
  1062. 'kp' => 0,
  1063. 'kr' => 0,
  1064. 'kw' => 0,
  1065. 'ky' => 0,
  1066. 'kz' => 0,
  1067. 'la' => 0,
  1068. 'lb' => 0,
  1069. 'lc' => 0,
  1070. 'li' => 0,
  1071. 'lk' => 0,
  1072. 'lr' => 0,
  1073. 'ls' => 0,
  1074. 'lt' => 0,
  1075. 'lu' => 0,
  1076. 'lv' => 0,
  1077. 'ly' => 0,
  1078. 'ma' => 0,
  1079. 'mc' => 0,
  1080. 'md' => 0,
  1081. 'me' => 0,
  1082. 'mg' => 0,
  1083. 'mh' => 0,
  1084. 'mk' => 0,
  1085. 'ml' => 0,
  1086. 'mm' => 0,
  1087. 'mn' => 0,
  1088. 'mo' => 0,
  1089. 'mp' => 0,
  1090. 'mq' => 0,
  1091. 'mr' => 0,
  1092. 'ms' => 0,
  1093. 'mt' => 0,
  1094. 'mu' => 0,
  1095. 'mv' => 0,
  1096. 'mw' => 0,
  1097. 'mx' => 0,
  1098. 'my' => 0,
  1099. 'mz' => 0,
  1100. 'na' => 0,
  1101. 'nc' => 0,
  1102. 'ne' => 0,
  1103. 'nf' => 0,
  1104. 'ng' => 0,
  1105. 'ni' => 0,
  1106. 'nl' => 0,
  1107. 'no' => 0,
  1108. 'np' => 0,
  1109. 'nr' => 0,
  1110. 'nu' => 0,
  1111. 'nz' => 0,
  1112. 'om' => 0,
  1113. 'pa' => 0,
  1114. 'pe' => 0,
  1115. 'pf' => 0,
  1116. 'pg' => 0,
  1117. 'ph' => 0,
  1118. 'pk' => 0,
  1119. 'pl' => 0,
  1120. 'pm' => 0,
  1121. 'pr' => 0,
  1122. 'ps' => 0,
  1123. 'pt' => 0,
  1124. 'pw' => 0,
  1125. 'py' => 0,
  1126. 'qa' => 0,
  1127. 'ro' => 0,
  1128. 'rs' => 0,
  1129. 'ru' => 0,
  1130. 'rw' => 0,
  1131. 'sa' => 0,
  1132. 'sb' => 0,
  1133. 'sc' => 0,
  1134. 'sd' => 0,
  1135. 'se' => 0,
  1136. 'sg' => 0,
  1137. 'sh' => 0,
  1138. 'si' => 0,
  1139. 'sk' => 0,
  1140. 'sl' => 0,
  1141. 'sm' => 0,
  1142. 'sn' => 0,
  1143. 'so' => 0,
  1144. 'sr' => 0,
  1145. 'ss' => 0,
  1146. 'st' => 0,
  1147. 'sv' => 0,
  1148. 'sy' => 0,
  1149. 'sz' => 0,
  1150. 'tc' => 0,
  1151. 'td' => 0,
  1152. 'tg' => 0,
  1153. 'th' => 0,
  1154. 'tj' => 0,
  1155. 'tk' => 0,
  1156. 'tm' => 0,
  1157. 'tn' => 0,
  1158. 'to' => 0,
  1159. 'tp' => 0,
  1160. 'tr' => 0,
  1161. 'tt' => 0,
  1162. 'tv' => 0,
  1163. 'tw' => 0,
  1164. 'tz' => 0,
  1165. 'ua' => 0,
  1166. 'ug' => 0,
  1167. 'us' => 0,
  1168. 'uy' => 0,
  1169. 'uz' => 0,
  1170. 'va' => 0,
  1171. 'vc' => 0,
  1172. 've' => 0,
  1173. 'vg' => 0,
  1174. 'vi' => 0,
  1175. 'vn' => 0,
  1176. 'vu' => 0,
  1177. 'wf' => 0,
  1178. 'ws' => 0,
  1179. 'ye' => 0,
  1180. 'yt' => 0,
  1181. 'za' => 0,
  1182. 'zm' => 0,
  1183. 'zw' => 0,
  1184. ),
  1185. 'hide_single_cc' => 0,
  1186. ),
  1187. 'default_country' => 'fr',
  1188. 'enable_country_level_validation' => 1,
  1189. 'enable_default_country' => 1,
  1190. 'enable_extension' => 0,
  1191. 'entity_translation_sync' => FALSE,
  1192. 'user_register_form' => FALSE,
  1193. ),
  1194. 'widget' => array(
  1195. 'active' => 0,
  1196. 'module' => 'cck_phone',
  1197. 'settings' => array(
  1198. 'size' => 15,
  1199. ),
  1200. 'type' => 'phone_number',
  1201. 'weight' => 4,
  1202. ),
  1203. );
  1204. // Exported field_instance:
  1205. // 'profile2-contact_operationnel-field_private_quality'
  1206. $field_instances['profile2-contact_operationnel-field_private_quality'] = array(
  1207. 'bundle' => 'contact_operationnel',
  1208. 'default_value' => NULL,
  1209. 'deleted' => 0,
  1210. 'description' => '',
  1211. 'display' => array(
  1212. 'default' => array(
  1213. 'label' => 'above',
  1214. 'module' => 'text',
  1215. 'settings' => array(),
  1216. 'type' => 'text_default',
  1217. 'weight' => 19,
  1218. ),
  1219. ),
  1220. 'entity_type' => 'profile2',
  1221. 'field_name' => 'field_private_quality',
  1222. 'label' => 'Quality',
  1223. 'required' => 0,
  1224. 'settings' => array(
  1225. 'entity_translation_sync' => FALSE,
  1226. 'text_processing' => 0,
  1227. 'user_register_form' => FALSE,
  1228. ),
  1229. 'widget' => array(
  1230. 'active' => 1,
  1231. 'module' => 'text',
  1232. 'settings' => array(
  1233. 'size' => 30,
  1234. ),
  1235. 'type' => 'text_textfield',
  1236. 'weight' => 2,
  1237. ),
  1238. );
  1239. // Exported field_instance: 'user-user-field_company'
  1240. $field_instances['user-user-field_company'] = array(
  1241. 'bundle' => 'user',
  1242. 'default_value' => NULL,
  1243. 'deleted' => 0,
  1244. 'description' => '',
  1245. 'display' => array(
  1246. 'default' => array(
  1247. 'label' => 'above',
  1248. 'module' => 'i18n_taxonomy',
  1249. 'settings' => array(),
  1250. 'type' => 'i18n_taxonomy_term_reference_link',
  1251. 'weight' => 1,
  1252. ),
  1253. ),
  1254. 'entity_type' => 'user',
  1255. 'field_name' => 'field_company',
  1256. 'label' => 'Company',
  1257. 'required' => 0,
  1258. 'settings' => array(
  1259. 'entity_translation_sync' => FALSE,
  1260. 'user_register_form' => 1,
  1261. ),
  1262. 'widget' => array(
  1263. 'active' => 1,
  1264. 'module' => 'autocomplete_deluxe',
  1265. 'settings' => array(
  1266. 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy',
  1267. 'content_taxonomy_autocomplete_new_terms' => 'deny',
  1268. 'size' => 60,
  1269. ),
  1270. 'type' => 'autocomplete_deluxe_taxonomy',
  1271. 'weight' => 2,
  1272. ),
  1273. );
  1274. // Exported field_instance: 'user-user-field_memo'
  1275. $field_instances['user-user-field_memo'] = array(
  1276. 'bundle' => 'user',
  1277. 'default_value' => NULL,
  1278. 'deleted' => 0,
  1279. 'description' => '',
  1280. 'display' => array(
  1281. 'default' => array(
  1282. 'label' => 'above',
  1283. 'module' => 'text',
  1284. 'settings' => array(),
  1285. 'type' => 'text_default',
  1286. 'weight' => 0,
  1287. ),
  1288. ),
  1289. 'entity_type' => 'user',
  1290. 'field_name' => 'field_memo',
  1291. 'label' => 'Mémo',
  1292. 'required' => 0,
  1293. 'settings' => array(
  1294. 'entity_translation_sync' => FALSE,
  1295. 'text_processing' => 0,
  1296. 'user_register_form' => 0,
  1297. ),
  1298. 'widget' => array(
  1299. 'active' => 1,
  1300. 'module' => 'text',
  1301. 'settings' => array(
  1302. 'rows' => 10,
  1303. ),
  1304. 'type' => 'text_textarea',
  1305. 'weight' => 7,
  1306. ),
  1307. );
  1308. // Translatables
  1309. // Included for use with string extractors like potx.
  1310. t('Activity sector');
  1311. t('Administrative email');
  1312. t('Adresse');
  1313. t('Company');
  1314. t('Email');
  1315. t('Employee');
  1316. t('First name');
  1317. t('Mémo');
  1318. t('NAF');
  1319. t('Name');
  1320. t('Organization');
  1321. t('Phone');
  1322. t('Quality');
  1323. t('Qualité');
  1324. t('SIRET');
  1325. t('Title');
  1326. t('Titre');
  1327. t('VAT number intra CE');
  1328. t('Website');
  1329. t('service');
  1330. return $field_instances;
  1331. }