materio_content_types.features.field_base.inc 25 KB

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