materio_user_profiles.features.field_instance.inc 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364
  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:
  862. // 'profile2-contact_operationnel-field_private_name'.
  863. $field_instances['profile2-contact_operationnel-field_private_name'] = array(
  864. 'bundle' => 'contact_operationnel',
  865. 'default_value' => NULL,
  866. 'deleted' => 0,
  867. 'description' => '',
  868. 'display' => array(
  869. 'default' => array(
  870. 'label' => 'above',
  871. 'module' => 'text',
  872. 'settings' => array(),
  873. 'type' => 'text_default',
  874. 'weight' => 16,
  875. ),
  876. ),
  877. 'entity_type' => 'profile2',
  878. 'field_name' => 'field_private_name',
  879. 'label' => 'Name',
  880. 'required' => 0,
  881. 'settings' => array(
  882. 'entity_translation_sync' => FALSE,
  883. 'text_processing' => 0,
  884. 'user_register_form' => FALSE,
  885. ),
  886. 'widget' => array(
  887. 'active' => 1,
  888. 'module' => 'text',
  889. 'settings' => array(
  890. 'size' => 60,
  891. ),
  892. 'type' => 'text_textfield',
  893. 'weight' => 1,
  894. ),
  895. );
  896. // Exported field_instance:
  897. // 'profile2-contact_operationnel-field_private_name_title'.
  898. $field_instances['profile2-contact_operationnel-field_private_name_title'] = array(
  899. 'bundle' => 'contact_operationnel',
  900. 'default_value' => NULL,
  901. 'deleted' => 0,
  902. 'description' => '',
  903. 'display' => array(
  904. 'default' => array(
  905. 'label' => 'above',
  906. 'module' => 'list',
  907. 'settings' => array(),
  908. 'type' => 'list_default',
  909. 'weight' => 15,
  910. ),
  911. ),
  912. 'entity_type' => 'profile2',
  913. 'field_name' => 'field_private_name_title',
  914. 'label' => 'Title',
  915. 'required' => 0,
  916. 'settings' => array(
  917. 'entity_translation_sync' => FALSE,
  918. 'user_register_form' => FALSE,
  919. ),
  920. 'widget' => array(
  921. 'active' => 1,
  922. 'module' => 'options',
  923. 'settings' => array(
  924. 'content_taxonomy_opt_groups' => FALSE,
  925. ),
  926. 'type' => 'options_select',
  927. 'weight' => 0,
  928. ),
  929. );
  930. // Exported field_instance:
  931. // 'profile2-contact_operationnel-field_private_phone'.
  932. $field_instances['profile2-contact_operationnel-field_private_phone'] = array(
  933. 'bundle' => 'contact_operationnel',
  934. 'deleted' => 0,
  935. 'description' => '',
  936. 'display' => array(
  937. 'default' => array(
  938. 'label' => 'above',
  939. 'module' => 'cck_phone',
  940. 'settings' => array(),
  941. 'type' => 'global_phone_number',
  942. 'weight' => 20,
  943. ),
  944. ),
  945. 'entity_type' => 'profile2',
  946. 'field_name' => 'field_private_phone',
  947. 'label' => 'Phone',
  948. 'required' => 0,
  949. 'settings' => array(
  950. 'all_country_codes' => 1,
  951. 'country_code_position' => 'after',
  952. 'country_codes' => array(
  953. 'country_selection' => array(
  954. 'ad' => 0,
  955. 'ae' => 0,
  956. 'af' => 0,
  957. 'ag' => 0,
  958. 'ai' => 0,
  959. 'al' => 0,
  960. 'am' => 0,
  961. 'an' => 0,
  962. 'ao' => 0,
  963. 'ar' => 0,
  964. 'as' => 0,
  965. 'at' => 0,
  966. 'au' => 0,
  967. 'aw' => 0,
  968. 'az' => 0,
  969. 'ba' => 0,
  970. 'bb' => 0,
  971. 'bd' => 0,
  972. 'be' => 0,
  973. 'bf' => 0,
  974. 'bg' => 0,
  975. 'bh' => 0,
  976. 'bi' => 0,
  977. 'bj' => 0,
  978. 'bm' => 0,
  979. 'bn' => 0,
  980. 'bo' => 0,
  981. 'br' => 0,
  982. 'bs' => 0,
  983. 'bt' => 0,
  984. 'bw' => 0,
  985. 'by' => 0,
  986. 'bz' => 0,
  987. 'ca' => 0,
  988. 'cc' => 0,
  989. 'cd' => 0,
  990. 'cf' => 0,
  991. 'cg' => 0,
  992. 'ch' => 0,
  993. 'ci' => 0,
  994. 'ck' => 0,
  995. 'cl' => 0,
  996. 'cm' => 0,
  997. 'cn' => 0,
  998. 'co' => 0,
  999. 'cr' => 0,
  1000. 'cu' => 0,
  1001. 'cv' => 0,
  1002. 'cx' => 0,
  1003. 'cy' => 0,
  1004. 'cz' => 0,
  1005. 'de' => 0,
  1006. 'dj' => 0,
  1007. 'dk' => 0,
  1008. 'dm' => 0,
  1009. 'do' => 0,
  1010. 'dz' => 0,
  1011. 'ec' => 0,
  1012. 'ee' => 0,
  1013. 'eg' => 0,
  1014. 'er' => 0,
  1015. 'es' => 0,
  1016. 'et' => 0,
  1017. 'fi' => 0,
  1018. 'fj' => 0,
  1019. 'fk' => 0,
  1020. 'fm' => 0,
  1021. 'fo' => 0,
  1022. 'fr' => 0,
  1023. 'ga' => 0,
  1024. 'gb' => 0,
  1025. 'gd' => 0,
  1026. 'ge' => 0,
  1027. 'gf' => 0,
  1028. 'gh' => 0,
  1029. 'gi' => 0,
  1030. 'gl' => 0,
  1031. 'gm' => 0,
  1032. 'gn' => 0,
  1033. 'gp' => 0,
  1034. 'gq' => 0,
  1035. 'gr' => 0,
  1036. 'gt' => 0,
  1037. 'gu' => 0,
  1038. 'gw' => 0,
  1039. 'gy' => 0,
  1040. 'hk' => 0,
  1041. 'hn' => 0,
  1042. 'hr' => 0,
  1043. 'ht' => 0,
  1044. 'hu' => 0,
  1045. 'id' => 0,
  1046. 'ie' => 0,
  1047. 'il' => 0,
  1048. 'in' => 0,
  1049. 'io' => 0,
  1050. 'iq' => 0,
  1051. 'ir' => 0,
  1052. 'is' => 0,
  1053. 'it' => 0,
  1054. 'jm' => 0,
  1055. 'jo' => 0,
  1056. 'jp' => 0,
  1057. 'ke' => 0,
  1058. 'kg' => 0,
  1059. 'kh' => 0,
  1060. 'ki' => 0,
  1061. 'km' => 0,
  1062. 'kn' => 0,
  1063. 'kp' => 0,
  1064. 'kr' => 0,
  1065. 'kw' => 0,
  1066. 'ky' => 0,
  1067. 'kz' => 0,
  1068. 'la' => 0,
  1069. 'lb' => 0,
  1070. 'lc' => 0,
  1071. 'li' => 0,
  1072. 'lk' => 0,
  1073. 'lr' => 0,
  1074. 'ls' => 0,
  1075. 'lt' => 0,
  1076. 'lu' => 0,
  1077. 'lv' => 0,
  1078. 'ly' => 0,
  1079. 'ma' => 0,
  1080. 'mc' => 0,
  1081. 'md' => 0,
  1082. 'me' => 0,
  1083. 'mg' => 0,
  1084. 'mh' => 0,
  1085. 'mk' => 0,
  1086. 'ml' => 0,
  1087. 'mm' => 0,
  1088. 'mn' => 0,
  1089. 'mo' => 0,
  1090. 'mp' => 0,
  1091. 'mq' => 0,
  1092. 'mr' => 0,
  1093. 'ms' => 0,
  1094. 'mt' => 0,
  1095. 'mu' => 0,
  1096. 'mv' => 0,
  1097. 'mw' => 0,
  1098. 'mx' => 0,
  1099. 'my' => 0,
  1100. 'mz' => 0,
  1101. 'na' => 0,
  1102. 'nc' => 0,
  1103. 'ne' => 0,
  1104. 'nf' => 0,
  1105. 'ng' => 0,
  1106. 'ni' => 0,
  1107. 'nl' => 0,
  1108. 'no' => 0,
  1109. 'np' => 0,
  1110. 'nr' => 0,
  1111. 'nu' => 0,
  1112. 'nz' => 0,
  1113. 'om' => 0,
  1114. 'pa' => 0,
  1115. 'pe' => 0,
  1116. 'pf' => 0,
  1117. 'pg' => 0,
  1118. 'ph' => 0,
  1119. 'pk' => 0,
  1120. 'pl' => 0,
  1121. 'pm' => 0,
  1122. 'pr' => 0,
  1123. 'ps' => 0,
  1124. 'pt' => 0,
  1125. 'pw' => 0,
  1126. 'py' => 0,
  1127. 'qa' => 0,
  1128. 'ro' => 0,
  1129. 'rs' => 0,
  1130. 'ru' => 0,
  1131. 'rw' => 0,
  1132. 'sa' => 0,
  1133. 'sb' => 0,
  1134. 'sc' => 0,
  1135. 'sd' => 0,
  1136. 'se' => 0,
  1137. 'sg' => 0,
  1138. 'sh' => 0,
  1139. 'si' => 0,
  1140. 'sk' => 0,
  1141. 'sl' => 0,
  1142. 'sm' => 0,
  1143. 'sn' => 0,
  1144. 'so' => 0,
  1145. 'sr' => 0,
  1146. 'ss' => 0,
  1147. 'st' => 0,
  1148. 'sv' => 0,
  1149. 'sy' => 0,
  1150. 'sz' => 0,
  1151. 'tc' => 0,
  1152. 'td' => 0,
  1153. 'tg' => 0,
  1154. 'th' => 0,
  1155. 'tj' => 0,
  1156. 'tk' => 0,
  1157. 'tm' => 0,
  1158. 'tn' => 0,
  1159. 'to' => 0,
  1160. 'tp' => 0,
  1161. 'tr' => 0,
  1162. 'tt' => 0,
  1163. 'tv' => 0,
  1164. 'tw' => 0,
  1165. 'tz' => 0,
  1166. 'ua' => 0,
  1167. 'ug' => 0,
  1168. 'us' => 0,
  1169. 'uy' => 0,
  1170. 'uz' => 0,
  1171. 'va' => 0,
  1172. 'vc' => 0,
  1173. 've' => 0,
  1174. 'vg' => 0,
  1175. 'vi' => 0,
  1176. 'vn' => 0,
  1177. 'vu' => 0,
  1178. 'wf' => 0,
  1179. 'ws' => 0,
  1180. 'ye' => 0,
  1181. 'yt' => 0,
  1182. 'za' => 0,
  1183. 'zm' => 0,
  1184. 'zw' => 0,
  1185. ),
  1186. 'hide_single_cc' => 0,
  1187. ),
  1188. 'default_country' => 'fr',
  1189. 'enable_country_level_validation' => 1,
  1190. 'enable_default_country' => 1,
  1191. 'enable_extension' => 0,
  1192. 'entity_translation_sync' => FALSE,
  1193. 'user_register_form' => FALSE,
  1194. ),
  1195. 'widget' => array(
  1196. 'active' => 0,
  1197. 'module' => 'cck_phone',
  1198. 'settings' => array(
  1199. 'size' => 15,
  1200. ),
  1201. 'type' => 'phone_number',
  1202. 'weight' => 4,
  1203. ),
  1204. );
  1205. // Exported field_instance:
  1206. // 'profile2-contact_operationnel-field_private_quality'.
  1207. $field_instances['profile2-contact_operationnel-field_private_quality'] = array(
  1208. 'bundle' => 'contact_operationnel',
  1209. 'default_value' => NULL,
  1210. 'deleted' => 0,
  1211. 'description' => '',
  1212. 'display' => array(
  1213. 'default' => array(
  1214. 'label' => 'above',
  1215. 'module' => 'text',
  1216. 'settings' => array(),
  1217. 'type' => 'text_default',
  1218. 'weight' => 19,
  1219. ),
  1220. ),
  1221. 'entity_type' => 'profile2',
  1222. 'field_name' => 'field_private_quality',
  1223. 'label' => 'Quality',
  1224. 'required' => 0,
  1225. 'settings' => array(
  1226. 'entity_translation_sync' => FALSE,
  1227. 'text_processing' => 0,
  1228. 'user_register_form' => FALSE,
  1229. ),
  1230. 'widget' => array(
  1231. 'active' => 1,
  1232. 'module' => 'text',
  1233. 'settings' => array(
  1234. 'size' => 30,
  1235. ),
  1236. 'type' => 'text_textfield',
  1237. 'weight' => 2,
  1238. ),
  1239. );
  1240. // Exported field_instance: 'user-user-field_company'.
  1241. $field_instances['user-user-field_company'] = array(
  1242. 'bundle' => 'user',
  1243. 'default_value' => NULL,
  1244. 'deleted' => 0,
  1245. 'description' => 'Define a company to link with the user (only relevant with "contact operationel")',
  1246. 'display' => array(
  1247. 'default' => array(
  1248. 'label' => 'above',
  1249. 'module' => 'taxonomy',
  1250. 'settings' => array(),
  1251. 'type' => 'taxonomy_term_reference_link',
  1252. 'weight' => 1,
  1253. ),
  1254. ),
  1255. 'entity_type' => 'user',
  1256. 'field_name' => 'field_company',
  1257. 'label' => 'Company',
  1258. 'required' => 0,
  1259. 'settings' => array(
  1260. 'entity_translation_sync' => FALSE,
  1261. 'user_register_form' => 1,
  1262. ),
  1263. 'widget' => array(
  1264. 'active' => 1,
  1265. 'module' => 'autocomplete_deluxe',
  1266. 'settings' => array(
  1267. 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy',
  1268. 'content_taxonomy_autocomplete_new_terms' => 'deny',
  1269. 'delimiter' => '',
  1270. 'limit' => 10,
  1271. 'min_length' => 0,
  1272. 'not_found_message' => 'The term \'@term\' will be added.',
  1273. 'size' => 60,
  1274. 'use_synonyms' => 0,
  1275. ),
  1276. 'type' => 'autocomplete_deluxe_taxonomy',
  1277. 'weight' => 2,
  1278. ),
  1279. );
  1280. // Exported field_instance: 'user-user-field_memo'.
  1281. $field_instances['user-user-field_memo'] = array(
  1282. 'bundle' => 'user',
  1283. 'default_value' => NULL,
  1284. 'deleted' => 0,
  1285. 'description' => '',
  1286. 'display' => array(
  1287. 'default' => array(
  1288. 'label' => 'above',
  1289. 'module' => 'text',
  1290. 'settings' => array(),
  1291. 'type' => 'text_default',
  1292. 'weight' => 0,
  1293. ),
  1294. ),
  1295. 'entity_type' => 'user',
  1296. 'field_name' => 'field_memo',
  1297. 'label' => 'Mémo',
  1298. 'required' => 0,
  1299. 'settings' => array(
  1300. 'entity_translation_sync' => FALSE,
  1301. 'text_processing' => 0,
  1302. 'user_register_form' => 0,
  1303. ),
  1304. 'widget' => array(
  1305. 'active' => 1,
  1306. 'module' => 'text',
  1307. 'settings' => array(
  1308. 'rows' => 10,
  1309. ),
  1310. 'type' => 'text_textarea',
  1311. 'weight' => 7,
  1312. ),
  1313. );
  1314. // Translatables
  1315. // Included for use with string extractors like potx.
  1316. t('Activity sector');
  1317. t('Administrative email');
  1318. t('Adresse');
  1319. t('Company');
  1320. t('Define a company to link with the user (only relevant with "contact operationel")');
  1321. t('Email');
  1322. t('Employee');
  1323. t('First name');
  1324. t('Mémo');
  1325. t('NAF');
  1326. t('Name');
  1327. t('Organization');
  1328. t('Phone');
  1329. t('Quality');
  1330. t('Qualité');
  1331. t('SIRET');
  1332. t('Title');
  1333. t('Titre');
  1334. t('VAT number intra CE');
  1335. t('Website');
  1336. t('service');
  1337. return $field_instances;
  1338. }