materio_user_profiles.features.field_base.inc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. <?php
  2. /**
  3. * @file
  4. * materio_user_profiles.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function materio_user_profiles_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_activity_sector'
  12. $field_bases['field_activity_sector'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_activity_sector',
  18. 'field_permissions' => array(
  19. 'type' => 0,
  20. ),
  21. 'foreign keys' => array(
  22. 'format' => array(
  23. 'columns' => array(
  24. 'format' => 'format',
  25. ),
  26. 'table' => 'filter_format',
  27. ),
  28. ),
  29. 'indexes' => array(
  30. 'format' => array(
  31. 0 => 'format',
  32. ),
  33. ),
  34. 'locked' => 0,
  35. 'module' => 'text',
  36. 'settings' => array(
  37. 'entity_translation_sync' => FALSE,
  38. 'max_length' => 255,
  39. 'profile2_private' => 0,
  40. ),
  41. 'translatable' => 0,
  42. 'type' => 'text',
  43. );
  44. // Exported field_base: 'field_administrative_email'
  45. $field_bases['field_administrative_email'] = array(
  46. 'active' => 1,
  47. 'cardinality' => 1,
  48. 'deleted' => 0,
  49. 'entity_types' => array(),
  50. 'field_name' => 'field_administrative_email',
  51. 'field_permissions' => array(
  52. 'type' => 0,
  53. ),
  54. 'foreign keys' => array(),
  55. 'indexes' => array(),
  56. 'locked' => 0,
  57. 'module' => 'email',
  58. 'settings' => array(
  59. 'entity_translation_sync' => FALSE,
  60. 'profile2_private' => 0,
  61. ),
  62. 'translatable' => 0,
  63. 'type' => 'email',
  64. );
  65. // Exported field_base: 'field_adresse'
  66. $field_bases['field_adresse'] = array(
  67. 'active' => 1,
  68. 'cardinality' => 1,
  69. 'deleted' => 0,
  70. 'entity_types' => array(),
  71. 'field_name' => 'field_adresse',
  72. 'field_permissions' => array(
  73. 'type' => 2,
  74. ),
  75. 'foreign keys' => array(),
  76. 'indexes' => array(),
  77. 'locked' => 0,
  78. 'module' => 'addressfield',
  79. 'settings' => array(
  80. 'entity_translation_sync' => FALSE,
  81. 'profile2_private' => 1,
  82. 'user_role_field' => array(
  83. 1 => 0,
  84. 2 => 0,
  85. 3 => 0,
  86. 4 => 0,
  87. 5 => 0,
  88. 6 => 0,
  89. 7 => 0,
  90. 8 => 0,
  91. ),
  92. ),
  93. 'translatable' => 0,
  94. 'type' => 'addressfield',
  95. );
  96. // Exported field_base: 'field_company'
  97. $field_bases['field_company'] = array(
  98. 'active' => 1,
  99. 'cardinality' => 1,
  100. 'deleted' => 0,
  101. 'entity_types' => array(),
  102. 'field_name' => 'field_company',
  103. 'field_permissions' => array(
  104. 'type' => 2,
  105. ),
  106. 'foreign keys' => array(
  107. 'tid' => array(
  108. 'columns' => array(
  109. 'tid' => 'tid',
  110. ),
  111. 'table' => 'taxonomy_term_data',
  112. ),
  113. ),
  114. 'indexes' => array(
  115. 'tid' => array(
  116. 0 => 'tid',
  117. ),
  118. ),
  119. 'locked' => 0,
  120. 'module' => 'taxonomy',
  121. 'settings' => array(
  122. 'allowed_values' => array(
  123. 0 => array(
  124. 'vocabulary' => 'company',
  125. 'parent' => 0,
  126. ),
  127. ),
  128. 'entity_translation_sync' => FALSE,
  129. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  130. 'profile2_private' => FALSE,
  131. 'user_role_field' => array(
  132. 1 => 0,
  133. 2 => 0,
  134. 3 => 0,
  135. 4 => 0,
  136. 5 => 5,
  137. 6 => 0,
  138. 7 => 0,
  139. ),
  140. ),
  141. 'translatable' => 0,
  142. 'type' => 'taxonomy_term_reference',
  143. );
  144. // Exported field_base: 'field_employee'
  145. $field_bases['field_employee'] = array(
  146. 'active' => 1,
  147. 'cardinality' => 1,
  148. 'deleted' => 0,
  149. 'entity_types' => array(),
  150. 'field_name' => 'field_employee',
  151. 'field_permissions' => array(
  152. 'type' => 2,
  153. ),
  154. 'foreign keys' => array(),
  155. 'indexes' => array(),
  156. 'locked' => 0,
  157. 'module' => 'number',
  158. 'settings' => array(
  159. 'entity_translation_sync' => FALSE,
  160. 'profile2_private' => 1,
  161. 'user_role_field' => array(
  162. 1 => 0,
  163. 2 => 0,
  164. 3 => 0,
  165. 4 => 0,
  166. 5 => 0,
  167. 6 => 0,
  168. 7 => 0,
  169. 8 => 0,
  170. ),
  171. ),
  172. 'translatable' => 0,
  173. 'type' => 'number_integer',
  174. );
  175. // Exported field_base: 'field_first_name'
  176. $field_bases['field_first_name'] = array(
  177. 'active' => 1,
  178. 'cardinality' => 1,
  179. 'deleted' => 0,
  180. 'entity_types' => array(),
  181. 'field_name' => 'field_first_name',
  182. 'field_permissions' => array(
  183. 'type' => 2,
  184. ),
  185. 'foreign keys' => array(
  186. 'format' => array(
  187. 'columns' => array(
  188. 'format' => 'format',
  189. ),
  190. 'table' => 'filter_format',
  191. ),
  192. ),
  193. 'indexes' => array(
  194. 'format' => array(
  195. 0 => 'format',
  196. ),
  197. ),
  198. 'locked' => 0,
  199. 'module' => 'text',
  200. 'settings' => array(
  201. 'entity_translation_sync' => FALSE,
  202. 'max_length' => 255,
  203. 'profile2_private' => 0,
  204. 'user_role_field' => array(
  205. 1 => 0,
  206. 2 => 0,
  207. 3 => 0,
  208. 4 => 0,
  209. 5 => 0,
  210. 6 => 0,
  211. 7 => 0,
  212. 8 => 0,
  213. ),
  214. ),
  215. 'translatable' => 0,
  216. 'type' => 'text',
  217. );
  218. // Exported field_base: 'field_memo'
  219. $field_bases['field_memo'] = array(
  220. 'active' => 1,
  221. 'cardinality' => 1,
  222. 'deleted' => 0,
  223. 'entity_types' => array(),
  224. 'field_name' => 'field_memo',
  225. 'field_permissions' => array(
  226. 'type' => 2,
  227. ),
  228. 'foreign keys' => array(
  229. 'format' => array(
  230. 'columns' => array(
  231. 'format' => 'format',
  232. ),
  233. 'table' => 'filter_format',
  234. ),
  235. ),
  236. 'indexes' => array(
  237. 'format' => array(
  238. 0 => 'format',
  239. ),
  240. ),
  241. 'locked' => 0,
  242. 'module' => 'text',
  243. 'settings' => array(
  244. 'entity_translation_sync' => FALSE,
  245. 'profile2_private' => TRUE,
  246. ),
  247. 'translatable' => 0,
  248. 'type' => 'text_long',
  249. );
  250. // Exported field_base: 'field_naf'
  251. $field_bases['field_naf'] = array(
  252. 'active' => 1,
  253. 'cardinality' => 1,
  254. 'deleted' => 0,
  255. 'entity_types' => array(),
  256. 'field_name' => 'field_naf',
  257. 'field_permissions' => array(
  258. 'type' => 2,
  259. ),
  260. 'foreign keys' => array(
  261. 'format' => array(
  262. 'columns' => array(
  263. 'format' => 'format',
  264. ),
  265. 'table' => 'filter_format',
  266. ),
  267. ),
  268. 'indexes' => array(
  269. 'format' => array(
  270. 0 => 'format',
  271. ),
  272. ),
  273. 'locked' => 0,
  274. 'module' => 'text',
  275. 'settings' => array(
  276. 'entity_translation_sync' => FALSE,
  277. 'max_length' => 255,
  278. 'profile2_private' => 1,
  279. 'user_role_field' => array(
  280. 1 => 0,
  281. 2 => 0,
  282. 3 => 0,
  283. 4 => 0,
  284. 5 => 0,
  285. 6 => 0,
  286. 7 => 0,
  287. 8 => 0,
  288. ),
  289. ),
  290. 'translatable' => 0,
  291. 'type' => 'text',
  292. );
  293. // Exported field_base: 'field_name'
  294. $field_bases['field_name'] = array(
  295. 'active' => 1,
  296. 'cardinality' => 1,
  297. 'deleted' => 0,
  298. 'entity_types' => array(),
  299. 'field_name' => 'field_name',
  300. 'field_permissions' => array(
  301. 'type' => 2,
  302. ),
  303. 'foreign keys' => array(
  304. 'format' => array(
  305. 'columns' => array(
  306. 'format' => 'format',
  307. ),
  308. 'table' => 'filter_format',
  309. ),
  310. ),
  311. 'indexes' => array(
  312. 'format' => array(
  313. 0 => 'format',
  314. ),
  315. ),
  316. 'locked' => 0,
  317. 'module' => 'text',
  318. 'settings' => array(
  319. 'entity_translation_sync' => FALSE,
  320. 'max_length' => 255,
  321. 'profile2_private' => 0,
  322. 'user_role_field' => array(
  323. 1 => 0,
  324. 2 => 0,
  325. 3 => 0,
  326. 4 => 0,
  327. 5 => 0,
  328. 6 => 0,
  329. 7 => 0,
  330. 8 => 0,
  331. ),
  332. ),
  333. 'translatable' => 0,
  334. 'type' => 'text',
  335. );
  336. // Exported field_base: 'field_organization'
  337. $field_bases['field_organization'] = array(
  338. 'active' => 1,
  339. 'cardinality' => 1,
  340. 'deleted' => 0,
  341. 'entity_types' => array(),
  342. 'field_name' => 'field_organization',
  343. 'field_permissions' => array(
  344. 'type' => 2,
  345. ),
  346. 'foreign keys' => array(
  347. 'format' => array(
  348. 'columns' => array(
  349. 'format' => 'format',
  350. ),
  351. 'table' => 'filter_format',
  352. ),
  353. ),
  354. 'indexes' => array(
  355. 'format' => array(
  356. 0 => 'format',
  357. ),
  358. ),
  359. 'locked' => 0,
  360. 'module' => 'text',
  361. 'settings' => array(
  362. 'entity_translation_sync' => FALSE,
  363. 'max_length' => 255,
  364. 'profile2_private' => 1,
  365. 'user_role_field' => array(
  366. 1 => 0,
  367. 2 => 0,
  368. 3 => 0,
  369. 4 => 0,
  370. 5 => 0,
  371. 6 => 0,
  372. 7 => 0,
  373. 8 => 0,
  374. ),
  375. ),
  376. 'translatable' => 0,
  377. 'type' => 'text',
  378. );
  379. // Exported field_base: 'field_private_email'
  380. $field_bases['field_private_email'] = array(
  381. 'active' => 1,
  382. 'cardinality' => 1,
  383. 'deleted' => 0,
  384. 'entity_types' => array(),
  385. 'field_name' => 'field_private_email',
  386. 'field_permissions' => array(
  387. 'type' => 0,
  388. ),
  389. 'foreign keys' => array(),
  390. 'indexes' => array(),
  391. 'locked' => 0,
  392. 'module' => 'email',
  393. 'settings' => array(
  394. 'entity_translation_sync' => FALSE,
  395. 'profile2_private' => 1,
  396. ),
  397. 'translatable' => 0,
  398. 'type' => 'email',
  399. );
  400. // Exported field_base: 'field_private_name'
  401. $field_bases['field_private_name'] = array(
  402. 'active' => 1,
  403. 'cardinality' => 1,
  404. 'deleted' => 0,
  405. 'entity_types' => array(),
  406. 'field_name' => 'field_private_name',
  407. 'foreign keys' => array(
  408. 'format' => array(
  409. 'columns' => array(
  410. 'format' => 'format',
  411. ),
  412. 'table' => 'filter_format',
  413. ),
  414. ),
  415. 'indexes' => array(
  416. 'format' => array(
  417. 0 => 'format',
  418. ),
  419. ),
  420. 'locked' => 0,
  421. 'module' => 'text',
  422. 'settings' => array(
  423. 'entity_translation_sync' => FALSE,
  424. 'max_length' => 255,
  425. 'profile2_private' => 1,
  426. ),
  427. 'translatable' => 0,
  428. 'type' => 'text',
  429. );
  430. // Exported field_base: 'field_private_name_title'
  431. $field_bases['field_private_name_title'] = array(
  432. 'active' => 1,
  433. 'cardinality' => 1,
  434. 'deleted' => 0,
  435. 'entity_types' => array(),
  436. 'field_name' => 'field_private_name_title',
  437. 'field_permissions' => array(
  438. 'type' => 2,
  439. ),
  440. 'foreign keys' => array(),
  441. 'indexes' => array(
  442. 'value' => array(
  443. 0 => 'value',
  444. ),
  445. ),
  446. 'locked' => 0,
  447. 'module' => 'list',
  448. 'settings' => array(
  449. 'allowed_values' => array(
  450. 'MR' => 'Mister',
  451. 'MS' => 'Misses',
  452. 'MI' => 'Miss',
  453. 'DO' => 'Doctor',
  454. 'PR' => 'Professor',
  455. ),
  456. 'allowed_values_function' => '',
  457. 'entity_translation_sync' => FALSE,
  458. 'profile2_private' => 1,
  459. 'user_role_field' => array(
  460. 1 => 0,
  461. 2 => 0,
  462. 3 => 0,
  463. 4 => 0,
  464. 5 => 0,
  465. 6 => 0,
  466. 7 => 0,
  467. 8 => 0,
  468. ),
  469. ),
  470. 'translatable' => 0,
  471. 'type' => 'list_text',
  472. );
  473. // Exported field_base: 'field_private_phone'
  474. $field_bases['field_private_phone'] = array(
  475. 'active' => 1,
  476. 'cardinality' => 1,
  477. 'deleted' => 0,
  478. 'entity_types' => array(),
  479. 'field_name' => 'field_private_phone',
  480. 'field_permissions' => array(
  481. 'type' => 2,
  482. ),
  483. 'foreign keys' => array(),
  484. 'indexes' => array(),
  485. 'locked' => 0,
  486. 'module' => 'cck_phone',
  487. 'settings' => array(
  488. 'entity_translation_sync' => FALSE,
  489. 'profile2_private' => 1,
  490. 'size' => 30,
  491. 'user_role_field' => array(
  492. 1 => 0,
  493. 2 => 0,
  494. 3 => 0,
  495. 4 => 0,
  496. 5 => 0,
  497. 6 => 0,
  498. 7 => 0,
  499. 8 => 0,
  500. ),
  501. ),
  502. 'translatable' => 0,
  503. 'type' => 'phone_number',
  504. );
  505. // Exported field_base: 'field_private_quality'
  506. $field_bases['field_private_quality'] = array(
  507. 'active' => 1,
  508. 'cardinality' => 1,
  509. 'deleted' => 0,
  510. 'entity_types' => array(),
  511. 'field_name' => 'field_private_quality',
  512. 'field_permissions' => array(
  513. 'type' => 2,
  514. ),
  515. 'foreign keys' => array(
  516. 'format' => array(
  517. 'columns' => array(
  518. 'format' => 'format',
  519. ),
  520. 'table' => 'filter_format',
  521. ),
  522. ),
  523. 'indexes' => array(
  524. 'format' => array(
  525. 0 => 'format',
  526. ),
  527. ),
  528. 'locked' => 0,
  529. 'module' => 'text',
  530. 'settings' => array(
  531. 'entity_translation_sync' => FALSE,
  532. 'max_length' => 255,
  533. 'profile2_private' => 0,
  534. 'user_role_field' => array(
  535. 1 => 0,
  536. 2 => 0,
  537. 3 => 0,
  538. 4 => 0,
  539. 5 => 0,
  540. 6 => 0,
  541. 7 => 0,
  542. 8 => 0,
  543. ),
  544. ),
  545. 'translatable' => 1,
  546. 'type' => 'text',
  547. );
  548. // Exported field_base: 'field_service'
  549. $field_bases['field_service'] = array(
  550. 'active' => 1,
  551. 'cardinality' => 1,
  552. 'deleted' => 0,
  553. 'entity_types' => array(),
  554. 'field_name' => 'field_service',
  555. 'field_permissions' => array(
  556. 'type' => 2,
  557. ),
  558. 'foreign keys' => array(
  559. 'format' => array(
  560. 'columns' => array(
  561. 'format' => 'format',
  562. ),
  563. 'table' => 'filter_format',
  564. ),
  565. ),
  566. 'indexes' => array(
  567. 'format' => array(
  568. 0 => 'format',
  569. ),
  570. ),
  571. 'locked' => 0,
  572. 'module' => 'text',
  573. 'settings' => array(
  574. 'entity_translation_sync' => FALSE,
  575. 'max_length' => 255,
  576. 'profile2_private' => 1,
  577. 'user_role_field' => array(
  578. 1 => 0,
  579. 2 => 0,
  580. 3 => 0,
  581. 4 => 0,
  582. 5 => 0,
  583. 6 => 0,
  584. 7 => 0,
  585. 8 => 0,
  586. ),
  587. ),
  588. 'translatable' => 0,
  589. 'type' => 'text',
  590. );
  591. // Exported field_base: 'field_siret'
  592. $field_bases['field_siret'] = array(
  593. 'active' => 1,
  594. 'cardinality' => 1,
  595. 'deleted' => 0,
  596. 'entity_types' => array(),
  597. 'field_name' => 'field_siret',
  598. 'field_permissions' => array(
  599. 'type' => 2,
  600. ),
  601. 'foreign keys' => array(
  602. 'format' => array(
  603. 'columns' => array(
  604. 'format' => 'format',
  605. ),
  606. 'table' => 'filter_format',
  607. ),
  608. ),
  609. 'indexes' => array(
  610. 'format' => array(
  611. 0 => 'format',
  612. ),
  613. ),
  614. 'locked' => 0,
  615. 'module' => 'text',
  616. 'settings' => array(
  617. 'entity_translation_sync' => FALSE,
  618. 'max_length' => 255,
  619. 'profile2_private' => 0,
  620. 'user_role_field' => array(
  621. 1 => 0,
  622. 2 => 0,
  623. 3 => 0,
  624. 4 => 0,
  625. 5 => 0,
  626. 6 => 0,
  627. 7 => 0,
  628. 8 => 0,
  629. ),
  630. ),
  631. 'translatable' => 0,
  632. 'type' => 'text',
  633. );
  634. // Exported field_base: 'field_user_website'
  635. $field_bases['field_user_website'] = array(
  636. 'active' => 1,
  637. 'cardinality' => 1,
  638. 'deleted' => 0,
  639. 'entity_types' => array(),
  640. 'field_name' => 'field_user_website',
  641. 'field_permissions' => array(
  642. 'type' => 2,
  643. ),
  644. 'foreign keys' => array(),
  645. 'indexes' => array(),
  646. 'locked' => 0,
  647. 'module' => 'link',
  648. 'settings' => array(
  649. 'attributes' => array(
  650. 'class' => '',
  651. 'rel' => '',
  652. 'target' => 'default',
  653. ),
  654. 'display' => array(
  655. 'url_cutoff' => 80,
  656. ),
  657. 'enable_tokens' => 1,
  658. 'entity_translation_sync' => FALSE,
  659. 'profile2_private' => 1,
  660. 'title' => 'optional',
  661. 'title_maxlength' => 128,
  662. 'title_value' => '',
  663. 'url' => 0,
  664. 'user_role_field' => array(
  665. 1 => 0,
  666. 2 => 0,
  667. 3 => 0,
  668. 4 => 0,
  669. 5 => 0,
  670. 6 => 0,
  671. 7 => 0,
  672. 8 => 0,
  673. ),
  674. ),
  675. 'translatable' => 0,
  676. 'type' => 'link_field',
  677. );
  678. // Exported field_base: 'field_vat_number_intra_ce'
  679. $field_bases['field_vat_number_intra_ce'] = array(
  680. 'active' => 1,
  681. 'cardinality' => 1,
  682. 'deleted' => 0,
  683. 'entity_types' => array(),
  684. 'field_name' => 'field_vat_number_intra_ce',
  685. 'field_permissions' => array(
  686. 'type' => 0,
  687. ),
  688. 'foreign keys' => array(
  689. 'format' => array(
  690. 'columns' => array(
  691. 'format' => 'format',
  692. ),
  693. 'table' => 'filter_format',
  694. ),
  695. ),
  696. 'indexes' => array(
  697. 'format' => array(
  698. 0 => 'format',
  699. ),
  700. ),
  701. 'locked' => 0,
  702. 'module' => 'text',
  703. 'settings' => array(
  704. 'entity_translation_sync' => FALSE,
  705. 'max_length' => 255,
  706. 'profile2_private' => 0,
  707. ),
  708. 'translatable' => 0,
  709. 'type' => 'text',
  710. );
  711. return $field_bases;
  712. }