materio_user_profiles.features.field_instance.inc 32 KB

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