materio_content_types.features.field_base.inc 23 KB

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