materio_content_types.features.field_base.inc 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078
  1. <?php
  2. /**
  3. * @file
  4. * materio_content_types.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function materio_content_types_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'description_field'
  12. $field_bases['description_field'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'description_field',
  18. 'indexes' => array(
  19. 'format' => array(
  20. 0 => 'format',
  21. ),
  22. ),
  23. 'locked' => 0,
  24. 'module' => 'text',
  25. 'settings' => array(
  26. 'entity_translation_sync' => FALSE,
  27. ),
  28. 'translatable' => 1,
  29. 'type' => 'text_with_summary',
  30. );
  31. // Exported field_base: 'field_attachments'
  32. $field_bases['field_attachments'] = array(
  33. 'active' => 1,
  34. 'cardinality' => -1,
  35. 'deleted' => 0,
  36. 'entity_types' => array(),
  37. 'field_name' => 'field_attachments',
  38. 'field_permissions' => array(
  39. 'type' => 2,
  40. ),
  41. 'indexes' => array(
  42. 'fid' => array(
  43. 0 => 'fid',
  44. ),
  45. ),
  46. 'locked' => 0,
  47. 'module' => 'file',
  48. 'settings' => array(
  49. 'display_default' => 1,
  50. 'display_field' => 1,
  51. 'entity_translation_sync' => array(
  52. 0 => 'fid',
  53. ),
  54. 'profile2_private' => FALSE,
  55. 'uri_scheme' => 'public',
  56. ),
  57. 'translatable' => 0,
  58. 'type' => 'file',
  59. );
  60. // Exported field_base: 'field_authored_on'
  61. $field_bases['field_authored_on'] = array(
  62. 'active' => 1,
  63. 'cardinality' => 1,
  64. 'deleted' => 0,
  65. 'entity_types' => array(),
  66. 'field_name' => 'field_authored_on',
  67. 'field_permissions' => array(
  68. 'type' => 0,
  69. ),
  70. 'indexes' => array(),
  71. 'locked' => 0,
  72. 'module' => 'computed_field',
  73. 'settings' => array(
  74. 'code' => '//dsm($entity, \'$entity\');
  75. $entity_field[0][\'value\'] = format_date($entity->created, \'breves\');',
  76. 'database' => array(
  77. 'data_default' => '',
  78. 'data_index' => 0,
  79. 'data_length' => 32,
  80. 'data_not_NULL' => 0,
  81. 'data_precision' => 10,
  82. 'data_scale' => 2,
  83. 'data_size' => 'normal',
  84. 'data_type' => 'varchar',
  85. ),
  86. 'display_format' => '$display_output = $entity_field_item[\'value\'];',
  87. 'entity_translation_sync' => FALSE,
  88. 'profile2_private' => FALSE,
  89. 'store' => 0,
  90. ),
  91. 'translatable' => 0,
  92. 'type' => 'computed',
  93. );
  94. // Exported field_base: 'field_bandeau'
  95. $field_bases['field_bandeau'] = array(
  96. 'active' => 1,
  97. 'cardinality' => 1,
  98. 'deleted' => 0,
  99. 'entity_types' => array(),
  100. 'field_name' => 'field_bandeau',
  101. 'field_permissions' => array(
  102. 'type' => 0,
  103. ),
  104. 'indexes' => array(
  105. 'fid' => array(
  106. 0 => 'fid',
  107. ),
  108. ),
  109. 'locked' => 0,
  110. 'module' => 'image',
  111. 'settings' => array(
  112. 'default_image' => 0,
  113. 'entity_translation_sync' => array(
  114. 0 => 'fid',
  115. ),
  116. 'profile2_private' => FALSE,
  117. 'uri_scheme' => 'public',
  118. ),
  119. 'translatable' => 0,
  120. 'type' => 'image',
  121. );
  122. // Exported field_base: 'field_breve_ref'
  123. $field_bases['field_breve_ref'] = array(
  124. 'active' => 1,
  125. 'cardinality' => -1,
  126. 'deleted' => 0,
  127. 'entity_types' => array(),
  128. 'field_name' => 'field_breve_ref',
  129. 'field_permissions' => array(
  130. 'type' => 0,
  131. ),
  132. 'indexes' => array(
  133. 'target_id' => array(
  134. 0 => 'target_id',
  135. ),
  136. ),
  137. 'locked' => 0,
  138. 'module' => 'entityreference',
  139. 'settings' => array(
  140. 'entity_translation_sync' => FALSE,
  141. 'handler' => 'base',
  142. 'handler_settings' => array(
  143. 'behaviors' => array(
  144. 'views-select-list' => array(
  145. 'status' => 0,
  146. ),
  147. ),
  148. 'sort' => array(
  149. 'direction' => 'ASC',
  150. 'field' => 'body:value',
  151. 'property' => 'nid',
  152. 'type' => 'none',
  153. ),
  154. 'target_bundles' => array(
  155. 'breve' => 'breve',
  156. ),
  157. ),
  158. 'handler_submit' => 'Change handler',
  159. 'profile2_private' => FALSE,
  160. 'target_type' => 'node',
  161. ),
  162. 'translatable' => 0,
  163. 'type' => 'entityreference',
  164. );
  165. // Exported field_base: 'field_company_distrib'
  166. $field_bases['field_company_distrib'] = array(
  167. 'active' => 1,
  168. 'cardinality' => -1,
  169. 'deleted' => 0,
  170. 'entity_types' => array(),
  171. 'field_name' => 'field_company_distrib',
  172. 'field_permissions' => array(
  173. 'type' => 2,
  174. ),
  175. 'indexes' => array(
  176. 'tid' => array(
  177. 0 => 'tid',
  178. ),
  179. ),
  180. 'locked' => 0,
  181. 'module' => 'taxonomy',
  182. 'settings' => array(
  183. 'allowed_values' => array(
  184. 0 => array(
  185. 'vocabulary' => 'company',
  186. 'parent' => 0,
  187. ),
  188. ),
  189. 'entity_translation_sync' => FALSE,
  190. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  191. 'profile2_private' => FALSE,
  192. ),
  193. 'translatable' => 0,
  194. 'type' => 'taxonomy_term_reference',
  195. );
  196. // Exported field_base: 'field_company_fab'
  197. $field_bases['field_company_fab'] = array(
  198. 'active' => 1,
  199. 'cardinality' => -1,
  200. 'deleted' => 0,
  201. 'entity_types' => array(),
  202. 'field_name' => 'field_company_fab',
  203. 'field_permissions' => array(
  204. 'type' => 2,
  205. ),
  206. 'indexes' => array(
  207. 'tid' => array(
  208. 0 => 'tid',
  209. ),
  210. ),
  211. 'locked' => 0,
  212. 'module' => 'taxonomy',
  213. 'settings' => array(
  214. 'allowed_values' => array(
  215. 0 => array(
  216. 'vocabulary' => 'company',
  217. 'parent' => 0,
  218. ),
  219. ),
  220. 'entity_translation_sync' => FALSE,
  221. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  222. 'profile2_private' => FALSE,
  223. ),
  224. 'translatable' => 0,
  225. 'type' => 'taxonomy_term_reference',
  226. );
  227. // Exported field_base: 'field_department'
  228. $field_bases['field_department'] = array(
  229. 'active' => 1,
  230. 'cardinality' => 1,
  231. 'deleted' => 0,
  232. 'entity_types' => array(),
  233. 'field_name' => 'field_department',
  234. 'field_permissions' => array(
  235. 'type' => 2,
  236. ),
  237. 'indexes' => array(
  238. 'format' => array(
  239. 0 => 'format',
  240. ),
  241. ),
  242. 'locked' => 0,
  243. 'module' => 'text',
  244. 'settings' => array(
  245. 'entity_translation_sync' => FALSE,
  246. 'max_length' => 255,
  247. 'profile2_private' => FALSE,
  248. ),
  249. 'translatable' => 1,
  250. 'type' => 'text',
  251. );
  252. // Exported field_base: 'field_description'
  253. $field_bases['field_description'] = array(
  254. 'active' => 1,
  255. 'cardinality' => 1,
  256. 'deleted' => 0,
  257. 'entity_types' => array(),
  258. 'field_name' => 'field_description',
  259. 'field_permissions' => array(
  260. 'type' => 2,
  261. ),
  262. 'indexes' => array(
  263. 'format' => array(
  264. 0 => 'format',
  265. ),
  266. ),
  267. 'locked' => 0,
  268. 'module' => 'text',
  269. 'settings' => array(
  270. 'entity_translation_sync' => FALSE,
  271. 'profile2_private' => FALSE,
  272. ),
  273. 'translatable' => 1,
  274. 'type' => 'text_with_summary',
  275. );
  276. // Exported field_base: 'field_emvideo'
  277. $field_bases['field_emvideo'] = array(
  278. 'active' => 1,
  279. 'cardinality' => 1,
  280. 'deleted' => 0,
  281. 'entity_types' => array(),
  282. 'field_name' => 'field_emvideo',
  283. 'field_permissions' => array(
  284. 'type' => 0,
  285. ),
  286. 'indexes' => array(),
  287. 'locked' => 0,
  288. 'module' => 'video_embed_field',
  289. 'settings' => array(
  290. 'entity_translation_sync' => FALSE,
  291. 'profile2_private' => FALSE,
  292. ),
  293. 'translatable' => 1,
  294. 'type' => 'video_embed_field',
  295. );
  296. // Exported field_base: 'field_famille'
  297. $field_bases['field_famille'] = array(
  298. 'active' => 1,
  299. 'cardinality' => 1,
  300. 'deleted' => 0,
  301. 'entity_types' => array(),
  302. 'field_name' => 'field_famille',
  303. 'field_permissions' => array(
  304. 'type' => 2,
  305. ),
  306. 'indexes' => array(
  307. 'value' => array(
  308. 0 => 'value',
  309. ),
  310. ),
  311. 'locked' => 0,
  312. 'module' => 'list',
  313. 'settings' => array(
  314. 'allowed_values' => array(
  315. 'W' => 'Bois (W)',
  316. 'T' => 'Textile (T)',
  317. 'R' => 'Plastique (R)',
  318. 'P' => 'Papier (P)',
  319. 'C' => 'Composite (C)',
  320. 'M' => 'Métal (M)',
  321. 'F' => 'Céramique (F)',
  322. 'G' => 'Verre (G)',
  323. 'S' => 'Béton/Pierre (S)',
  324. 'O' => 'Autre (O)',
  325. ),
  326. 'allowed_values_function' => '',
  327. 'entity_translation_sync' => FALSE,
  328. 'profile2_private' => FALSE,
  329. ),
  330. 'translatable' => 0,
  331. 'type' => 'list_text',
  332. );
  333. // Exported field_base: 'field_identifiant'
  334. $field_bases['field_identifiant'] = array(
  335. 'active' => 1,
  336. 'cardinality' => 1,
  337. 'deleted' => 0,
  338. 'entity_types' => array(),
  339. 'field_name' => 'field_identifiant',
  340. 'field_permissions' => array(
  341. 'type' => 2,
  342. ),
  343. 'indexes' => array(),
  344. 'locked' => 0,
  345. 'module' => 'computed_field',
  346. 'settings' => array(
  347. 'code' => '$entity_field[0][\'value\'] = "";',
  348. 'database' => array(
  349. 'data_default' => '',
  350. 'data_index' => 0,
  351. 'data_length' => 32,
  352. 'data_not_NULL' => 0,
  353. 'data_precision' => 10,
  354. 'data_scale' => 2,
  355. 'data_size' => 'normal',
  356. 'data_type' => 'varchar',
  357. ),
  358. 'display_format' => '$display_output = $entity_field_item[\'value\'];',
  359. 'entity_translation_sync' => FALSE,
  360. 'profile2_private' => FALSE,
  361. 'store' => 1,
  362. ),
  363. 'translatable' => 0,
  364. 'type' => 'computed',
  365. );
  366. // Exported field_base: 'field_infos_from_company'
  367. $field_bases['field_infos_from_company'] = array(
  368. 'active' => 1,
  369. 'cardinality' => 1,
  370. 'deleted' => 0,
  371. 'entity_types' => array(),
  372. 'field_name' => 'field_infos_from_company',
  373. 'field_permissions' => array(
  374. 'type' => 2,
  375. ),
  376. 'indexes' => array(
  377. 'format' => array(
  378. 0 => 'format',
  379. ),
  380. ),
  381. 'locked' => 0,
  382. 'module' => 'text',
  383. 'settings' => array(
  384. 'entity_translation_sync' => FALSE,
  385. 'profile2_private' => FALSE,
  386. ),
  387. 'translatable' => 1,
  388. 'type' => 'text_long',
  389. );
  390. // Exported field_base: 'field_liens'
  391. $field_bases['field_liens'] = array(
  392. 'active' => 1,
  393. 'cardinality' => -1,
  394. 'deleted' => 0,
  395. 'entity_types' => array(),
  396. 'field_name' => 'field_liens',
  397. 'field_permissions' => array(
  398. 'type' => 0,
  399. ),
  400. 'indexes' => array(),
  401. 'locked' => 0,
  402. 'module' => 'link',
  403. 'settings' => array(
  404. 'attributes' => array(
  405. 'class' => '',
  406. 'rel' => '',
  407. 'target' => 'default',
  408. ),
  409. 'display' => array(
  410. 'url_cutoff' => 80,
  411. ),
  412. 'enable_tokens' => 1,
  413. 'entity_translation_sync' => FALSE,
  414. 'profile2_private' => FALSE,
  415. 'title' => 'optional',
  416. 'title_maxlength' => 128,
  417. 'title_value' => '',
  418. 'url' => 0,
  419. ),
  420. 'translatable' => 1,
  421. 'type' => 'link_field',
  422. );
  423. // Exported field_base: 'field_localisation'
  424. $field_bases['field_localisation'] = array(
  425. 'active' => 1,
  426. 'cardinality' => 1,
  427. 'deleted' => 0,
  428. 'entity_types' => array(),
  429. 'field_name' => 'field_localisation',
  430. 'field_permissions' => array(
  431. 'type' => 2,
  432. ),
  433. 'indexes' => array(
  434. 'format' => array(
  435. 0 => 'format',
  436. ),
  437. ),
  438. 'locked' => 0,
  439. 'module' => 'text',
  440. 'settings' => array(
  441. 'entity_translation_sync' => FALSE,
  442. 'max_length' => 255,
  443. 'profile2_private' => FALSE,
  444. ),
  445. 'translatable' => 0,
  446. 'type' => 'text',
  447. );
  448. // Exported field_base: 'field_materiau_image'
  449. $field_bases['field_materiau_image'] = array(
  450. 'active' => 1,
  451. 'cardinality' => -1,
  452. 'deleted' => 0,
  453. 'entity_types' => array(),
  454. 'field_name' => 'field_materiau_image',
  455. 'field_permissions' => array(
  456. 'type' => 0,
  457. ),
  458. 'indexes' => array(
  459. 'fid' => array(
  460. 0 => 'fid',
  461. ),
  462. ),
  463. 'locked' => 0,
  464. 'module' => 'image',
  465. 'settings' => array(
  466. 'default_image' => 0,
  467. 'entity_translation_sync' => array(
  468. 0 => 'fid',
  469. ),
  470. 'profile2_private' => FALSE,
  471. 'uri_scheme' => 'public',
  472. ),
  473. 'translatable' => 0,
  474. 'type' => 'image',
  475. );
  476. // Exported field_base: 'field_materiau_ref'
  477. $field_bases['field_materiau_ref'] = array(
  478. 'active' => 1,
  479. 'cardinality' => -1,
  480. 'deleted' => 0,
  481. 'entity_types' => array(),
  482. 'field_name' => 'field_materiau_ref',
  483. 'field_permissions' => array(
  484. 'type' => 2,
  485. ),
  486. 'indexes' => array(
  487. 'target_id' => array(
  488. 0 => 'target_id',
  489. ),
  490. ),
  491. 'locked' => 0,
  492. 'module' => 'entityreference',
  493. 'settings' => array(
  494. 'entity_translation_sync' => FALSE,
  495. 'handler' => 'views',
  496. 'handler_settings' => array(
  497. 'behaviors' => array(
  498. 'views-select-list' => array(
  499. 'status' => 0,
  500. ),
  501. ),
  502. 'view' => array(
  503. 'args' => array(),
  504. 'display_name' => 'entityreference_1',
  505. 'view_name' => 'entity_reference_materiaux_breves',
  506. ),
  507. ),
  508. 'handler_submit' => 'Change handler',
  509. 'profile2_private' => FALSE,
  510. 'target_type' => 'node',
  511. ),
  512. 'translatable' => 0,
  513. 'type' => 'entityreference',
  514. );
  515. // Exported field_base: 'field_nature_titre'
  516. $field_bases['field_nature_titre'] = array(
  517. 'active' => 1,
  518. 'cardinality' => 1,
  519. 'deleted' => 0,
  520. 'entity_types' => array(),
  521. 'field_name' => 'field_nature_titre',
  522. 'indexes' => array(
  523. 'format' => array(
  524. 0 => 'format',
  525. ),
  526. ),
  527. 'locked' => 0,
  528. 'module' => 'text',
  529. 'settings' => array(
  530. 'entity_translation_sync' => FALSE,
  531. 'max_length' => 255,
  532. ),
  533. 'translatable' => 1,
  534. 'type' => 'text',
  535. );
  536. // Exported field_base: 'field_note'
  537. $field_bases['field_note'] = array(
  538. 'active' => 1,
  539. 'cardinality' => 1,
  540. 'deleted' => 0,
  541. 'entity_types' => array(),
  542. 'field_name' => 'field_note',
  543. 'field_permissions' => array(
  544. 'type' => 2,
  545. ),
  546. 'indexes' => array(
  547. 'value' => array(
  548. 0 => 'value',
  549. ),
  550. ),
  551. 'locked' => 0,
  552. 'module' => 'list',
  553. 'settings' => array(
  554. 'allowed_values' => array(
  555. 0 => 0,
  556. 1 => 1,
  557. 2 => 2,
  558. 3 => 3,
  559. 4 => 4,
  560. 5 => 5,
  561. ),
  562. 'allowed_values_function' => '',
  563. 'entity_translation_sync' => FALSE,
  564. 'profile2_private' => TRUE,
  565. ),
  566. 'translatable' => 0,
  567. 'type' => 'list_integer',
  568. );
  569. // Exported field_base: 'field_onthologie'
  570. $field_bases['field_onthologie'] = array(
  571. 'active' => 1,
  572. 'cardinality' => -1,
  573. 'deleted' => 0,
  574. 'entity_types' => array(),
  575. 'field_name' => 'field_onthologie',
  576. 'field_permissions' => array(
  577. 'type' => 0,
  578. ),
  579. 'indexes' => array(
  580. 'tid' => array(
  581. 0 => 'tid',
  582. ),
  583. ),
  584. 'locked' => 0,
  585. 'module' => 'taxonomy',
  586. 'settings' => array(
  587. 'allowed_values' => array(
  588. 0 => array(
  589. 'vocabulary' => 'onthologie',
  590. 'parent' => 0,
  591. 'depth' => '',
  592. ),
  593. ),
  594. 'entity_translation_sync' => FALSE,
  595. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  596. 'profile2_private' => FALSE,
  597. ),
  598. 'translatable' => 0,
  599. 'type' => 'taxonomy_term_reference',
  600. );
  601. // Exported field_base: 'field_public_address'
  602. $field_bases['field_public_address'] = array(
  603. 'active' => 1,
  604. 'cardinality' => 1,
  605. 'deleted' => 0,
  606. 'entity_types' => array(),
  607. 'field_name' => 'field_public_address',
  608. 'field_permissions' => array(
  609. 'type' => 2,
  610. ),
  611. 'indexes' => array(),
  612. 'locked' => 0,
  613. 'module' => 'addressfield',
  614. 'settings' => array(
  615. 'entity_translation_sync' => FALSE,
  616. 'profile2_private' => TRUE,
  617. ),
  618. 'translatable' => 0,
  619. 'type' => 'addressfield',
  620. );
  621. // Exported field_base: 'field_public_email'
  622. $field_bases['field_public_email'] = array(
  623. 'active' => 1,
  624. 'cardinality' => 1,
  625. 'deleted' => 0,
  626. 'entity_types' => array(),
  627. 'field_name' => 'field_public_email',
  628. 'field_permissions' => array(
  629. 'type' => 2,
  630. ),
  631. 'indexes' => array(),
  632. 'locked' => 0,
  633. 'module' => 'email',
  634. 'settings' => array(
  635. 'entity_translation_sync' => FALSE,
  636. 'profile2_private' => FALSE,
  637. ),
  638. 'translatable' => 0,
  639. 'type' => 'email',
  640. );
  641. // Exported field_base: 'field_public_phone'
  642. $field_bases['field_public_phone'] = array(
  643. 'active' => 1,
  644. 'cardinality' => -1,
  645. 'deleted' => 0,
  646. 'entity_types' => array(),
  647. 'field_name' => 'field_public_phone',
  648. 'field_permissions' => array(
  649. 'type' => 2,
  650. ),
  651. 'indexes' => array(),
  652. 'locked' => 0,
  653. 'module' => 'cck_phone',
  654. 'settings' => array(
  655. 'entity_translation_sync' => FALSE,
  656. 'profile2_private' => FALSE,
  657. 'size' => 30,
  658. ),
  659. 'translatable' => 0,
  660. 'type' => 'phone_number',
  661. );
  662. // Exported field_base: 'field_reference_materio'
  663. $field_bases['field_reference_materio'] = array(
  664. 'active' => 1,
  665. 'cardinality' => 1,
  666. 'deleted' => 0,
  667. 'entity_types' => array(),
  668. 'field_name' => 'field_reference_materio',
  669. 'field_permissions' => array(
  670. 'type' => 2,
  671. ),
  672. 'indexes' => array(
  673. 'value' => array(
  674. 0 => 'value',
  675. ),
  676. ),
  677. 'locked' => 0,
  678. 'module' => 'computed_field',
  679. 'settings' => array(
  680. 'code' => '$entity_field[0][\'value\'] = "";',
  681. 'database' => array(
  682. 'data_default' => '',
  683. 'data_index' => 1,
  684. 'data_length' => 255,
  685. 'data_not_NULL' => 0,
  686. 'data_precision' => 10,
  687. 'data_scale' => 2,
  688. 'data_size' => 'normal',
  689. 'data_type' => 'varchar',
  690. ),
  691. 'display_format' => '$display_output = $entity_field_item[\'value\'];',
  692. 'entity_translation_sync' => FALSE,
  693. 'profile2_private' => FALSE,
  694. 'store' => 1,
  695. ),
  696. 'translatable' => 0,
  697. 'type' => 'computed',
  698. );
  699. // Exported field_base: 'field_source'
  700. $field_bases['field_source'] = array(
  701. 'active' => 1,
  702. 'cardinality' => 1,
  703. 'deleted' => 0,
  704. 'entity_types' => array(),
  705. 'field_name' => 'field_source',
  706. 'field_permissions' => array(
  707. 'type' => 0,
  708. ),
  709. 'indexes' => array(),
  710. 'locked' => 0,
  711. 'module' => 'link',
  712. 'settings' => array(
  713. 'attributes' => array(
  714. 'class' => '',
  715. 'rel' => '',
  716. 'target' => 'default',
  717. ),
  718. 'display' => array(
  719. 'url_cutoff' => 80,
  720. ),
  721. 'enable_tokens' => 1,
  722. 'entity_translation_sync' => FALSE,
  723. 'profile2_private' => FALSE,
  724. 'title' => 'optional',
  725. 'title_maxlength' => 128,
  726. 'title_value' => '',
  727. 'url' => 0,
  728. ),
  729. 'translatable' => 0,
  730. 'type' => 'link_field',
  731. );
  732. // Exported field_base: 'field_tags_libres'
  733. $field_bases['field_tags_libres'] = array(
  734. 'active' => 1,
  735. 'cardinality' => -1,
  736. 'deleted' => 0,
  737. 'entity_types' => array(),
  738. 'field_name' => 'field_tags_libres',
  739. 'field_permissions' => array(
  740. 'type' => 0,
  741. ),
  742. 'indexes' => array(
  743. 'tid' => array(
  744. 0 => 'tid',
  745. ),
  746. ),
  747. 'locked' => 0,
  748. 'module' => 'taxonomy',
  749. 'settings' => array(
  750. 'allowed_values' => array(
  751. 0 => array(
  752. 'vocabulary' => 'tag_libres',
  753. 'parent' => 0,
  754. ),
  755. ),
  756. 'entity_translation_sync' => FALSE,
  757. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  758. 'profile2_private' => FALSE,
  759. ),
  760. 'translatable' => 0,
  761. 'type' => 'taxonomy_term_reference',
  762. );
  763. // Exported field_base: 'field_tode_company'
  764. $field_bases['field_tode_company'] = array(
  765. 'active' => 1,
  766. 'cardinality' => 1,
  767. 'deleted' => 0,
  768. 'entity_types' => array(),
  769. 'field_name' => 'field_tode_company',
  770. 'field_permissions' => array(
  771. 'type' => 2,
  772. ),
  773. 'indexes' => array(
  774. 'tid' => array(
  775. 0 => 'tid',
  776. ),
  777. ),
  778. 'locked' => 0,
  779. 'module' => 'taxonomy',
  780. 'settings' => array(
  781. 'allowed_values' => array(
  782. 0 => array(
  783. 'vocabulary' => 'company',
  784. 'parent' => 0,
  785. 'depth' => '',
  786. ),
  787. ),
  788. 'entity_translation_sync' => FALSE,
  789. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  790. 'profile2_private' => FALSE,
  791. 'user_role_field' => array(
  792. 1 => 0,
  793. 2 => 0,
  794. 3 => 0,
  795. 4 => 0,
  796. 5 => 5,
  797. ),
  798. ),
  799. 'translatable' => 0,
  800. 'type' => 'taxonomy_term_reference',
  801. );
  802. // Exported field_base: 'field_used_on_advanced_search'
  803. $field_bases['field_used_on_advanced_search'] = array(
  804. 'active' => 1,
  805. 'cardinality' => 1,
  806. 'deleted' => 0,
  807. 'entity_types' => array(),
  808. 'field_name' => 'field_used_on_advanced_search',
  809. 'field_permissions' => array(
  810. 'type' => 2,
  811. ),
  812. 'indexes' => array(
  813. 'value' => array(
  814. 0 => 'value',
  815. ),
  816. ),
  817. 'locked' => 0,
  818. 'module' => 'list',
  819. 'settings' => array(
  820. 'allowed_values' => array(
  821. 0 => 0,
  822. 1 => 1,
  823. ),
  824. 'allowed_values_function' => '',
  825. 'entity_translation_sync' => FALSE,
  826. 'profile2_private' => FALSE,
  827. ),
  828. 'translatable' => 0,
  829. 'type' => 'list_boolean',
  830. );
  831. // Exported field_base: 'field_video_filter'
  832. $field_bases['field_video_filter'] = array(
  833. 'active' => 1,
  834. 'cardinality' => -1,
  835. 'deleted' => 0,
  836. 'entity_types' => array(),
  837. 'field_name' => 'field_video_filter',
  838. 'field_permissions' => array(
  839. 'type' => 0,
  840. ),
  841. 'indexes' => array(
  842. 'height' => array(
  843. 0 => 'height',
  844. ),
  845. 'width' => array(
  846. 0 => 'width',
  847. ),
  848. ),
  849. 'locked' => 0,
  850. 'module' => 'video_filter_field',
  851. 'settings' => array(
  852. 'entity_translation_sync' => FALSE,
  853. 'profile2_private' => FALSE,
  854. ),
  855. 'translatable' => 0,
  856. 'type' => 'video_filter',
  857. );
  858. // Exported field_base: 'field_visible_sur_la_home'
  859. $field_bases['field_visible_sur_la_home'] = array(
  860. 'active' => 1,
  861. 'cardinality' => 1,
  862. 'deleted' => 0,
  863. 'entity_types' => array(),
  864. 'field_name' => 'field_visible_sur_la_home',
  865. 'field_permissions' => array(
  866. 'type' => 1,
  867. ),
  868. 'indexes' => array(
  869. 'value' => array(
  870. 0 => 'value',
  871. ),
  872. ),
  873. 'locked' => 0,
  874. 'module' => 'list',
  875. 'settings' => array(
  876. 'allowed_values' => array(
  877. 0 => '',
  878. 1 => '',
  879. ),
  880. 'allowed_values_function' => '',
  881. 'entity_translation_sync' => FALSE,
  882. 'profile2_private' => FALSE,
  883. ),
  884. 'translatable' => 0,
  885. 'type' => 'list_boolean',
  886. );
  887. // Exported field_base: 'field_visuel'
  888. $field_bases['field_visuel'] = array(
  889. 'active' => 1,
  890. 'cardinality' => 5,
  891. 'deleted' => 0,
  892. 'entity_types' => array(),
  893. 'field_name' => 'field_visuel',
  894. 'field_permissions' => array(
  895. 'type' => 0,
  896. ),
  897. 'indexes' => array(
  898. 'fid' => array(
  899. 0 => 'fid',
  900. ),
  901. ),
  902. 'locked' => 0,
  903. 'module' => 'image',
  904. 'settings' => array(
  905. 'default_image' => 0,
  906. 'entity_translation_sync' => array(
  907. 0 => 'fid',
  908. ),
  909. 'profile2_private' => FALSE,
  910. 'uri_scheme' => 'public',
  911. ),
  912. 'translatable' => 1,
  913. 'type' => 'image',
  914. );
  915. // Exported field_base: 'field_website'
  916. $field_bases['field_website'] = array(
  917. 'active' => 1,
  918. 'cardinality' => 1,
  919. 'deleted' => 0,
  920. 'entity_types' => array(),
  921. 'field_name' => 'field_website',
  922. 'field_permissions' => array(
  923. 'type' => 2,
  924. ),
  925. 'indexes' => array(),
  926. 'locked' => 0,
  927. 'module' => 'link',
  928. 'settings' => array(
  929. 'attributes' => array(
  930. 'class' => '',
  931. 'rel' => '',
  932. 'target' => 'default',
  933. ),
  934. 'display' => array(
  935. 'url_cutoff' => 80,
  936. ),
  937. 'enable_tokens' => 1,
  938. 'entity_translation_sync' => FALSE,
  939. 'profile2_private' => FALSE,
  940. 'title' => 'optional',
  941. 'title_maxlength' => 128,
  942. 'title_value' => '',
  943. 'url' => 0,
  944. ),
  945. 'translatable' => 0,
  946. 'type' => 'link_field',
  947. );
  948. // Exported field_base: 'field_workflow_state'
  949. $field_bases['field_workflow_state'] = array(
  950. 'active' => 1,
  951. 'cardinality' => 1,
  952. 'deleted' => 0,
  953. 'entity_types' => array(),
  954. 'field_name' => 'field_workflow_state',
  955. 'field_permissions' => array(
  956. 'type' => 2,
  957. ),
  958. 'indexes' => array(),
  959. 'locked' => 0,
  960. 'module' => 'computed_field',
  961. 'settings' => array(
  962. 'code' => '',
  963. 'database' => array(
  964. 'data_default' => '',
  965. 'data_index' => 0,
  966. 'data_length' => 32,
  967. 'data_not_NULL' => 0,
  968. 'data_precision' => 10,
  969. 'data_scale' => 2,
  970. 'data_size' => 'normal',
  971. 'data_type' => 'varchar',
  972. ),
  973. 'display_format' => '//dsm($entity);
  974. $workflow = workflow_get_workflow_type_map_by_type($entity->type);
  975. $states = workflow_get_workflow_states_by_wid($workflow->wid);
  976. foreach ($states as $state) {
  977. if ($state->sid == $entity->workflow) {
  978. $display_output = $state->state;
  979. dsm($state, \'state\');
  980. }
  981. }
  982. ',
  983. 'entity_translation_sync' => FALSE,
  984. 'profile2_private' => FALSE,
  985. 'store' => 1,
  986. ),
  987. 'translatable' => 0,
  988. 'type' => 'computed',
  989. );
  990. // Exported field_base: 'name_field'
  991. $field_bases['name_field'] = array(
  992. 'active' => 1,
  993. 'cardinality' => 1,
  994. 'deleted' => 0,
  995. 'entity_types' => array(),
  996. 'field_name' => 'name_field',
  997. 'field_permissions' => array(
  998. 'type' => 0,
  999. ),
  1000. 'indexes' => array(
  1001. 'format' => array(
  1002. 0 => 'format',
  1003. ),
  1004. ),
  1005. 'locked' => 0,
  1006. 'module' => 'text',
  1007. 'settings' => array(
  1008. 'entity_translation_sync' => FALSE,
  1009. 'max_length' => 255,
  1010. 'profile2_private' => FALSE,
  1011. ),
  1012. 'translatable' => 1,
  1013. 'type' => 'text',
  1014. );
  1015. // Exported field_base: 'title_field'
  1016. $field_bases['title_field'] = array(
  1017. 'active' => 1,
  1018. 'cardinality' => 1,
  1019. 'deleted' => 0,
  1020. 'entity_types' => array(),
  1021. 'field_name' => 'title_field',
  1022. 'field_permissions' => array(
  1023. 'type' => 0,
  1024. ),
  1025. 'indexes' => array(
  1026. 'format' => array(
  1027. 0 => 'format',
  1028. ),
  1029. ),
  1030. 'locked' => 0,
  1031. 'module' => 'text',
  1032. 'settings' => array(
  1033. 'entity_translation_sync' => FALSE,
  1034. 'max_length' => 255,
  1035. 'profile2_private' => FALSE,
  1036. ),
  1037. 'translatable' => 1,
  1038. 'type' => 'text',
  1039. );
  1040. return $field_bases;
  1041. }