publication.ds.inc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. /**
  3. * @file
  4. * publication.ds.inc
  5. */
  6. /**
  7. * Implements hook_ds_layout_settings_info().
  8. */
  9. function publication_ds_layout_settings_info() {
  10. $export = array();
  11. $ds_layout = new stdClass();
  12. $ds_layout->api_version = 1;
  13. $ds_layout->id = 'TripalEntity|bio_data_45|default';
  14. $ds_layout->entity_type = 'TripalEntity';
  15. $ds_layout->bundle = 'bio_data_45';
  16. $ds_layout->view_mode = 'default';
  17. $ds_layout->layout = 'ds_2col';
  18. $ds_layout->settings = array(
  19. 'regions' => array(
  20. 'left' => array(
  21. 0 => 'tpub__abstract',
  22. ),
  23. 'right' => array(
  24. 1 => 'group_citation',
  25. 2 => 'tpub__citation',
  26. 3 => 'group_properties',
  27. 4 => 'group_references',
  28. 5 => 'sio__references',
  29. 6 => 'group_property_table',
  30. 7 => 'tpub__publication_type',
  31. 8 => 'tpub__doi',
  32. 9 => 'sbo__database_cross_reference',
  33. ),
  34. ),
  35. 'fields' => array(
  36. 'tpub__abstract' => 'left',
  37. 'group_citation' => 'right',
  38. 'tpub__citation' => 'right',
  39. 'group_properties' => 'right',
  40. 'group_references' => 'right',
  41. 'sio__references' => 'right',
  42. 'group_property_table' => 'right',
  43. 'tpub__publication_type' => 'right',
  44. 'tpub__doi' => 'right',
  45. 'sbo__database_cross_reference' => 'right',
  46. ),
  47. 'classes' => array(),
  48. 'wrappers' => array(
  49. 'left' => 'div',
  50. 'right' => 'div',
  51. ),
  52. 'layout_wrapper' => 'div',
  53. 'layout_attributes' => '',
  54. 'layout_attributes_merge' => 1,
  55. 'layout_link_attribute' => '',
  56. 'layout_link_custom' => '',
  57. 'layout_disable_css' => 0,
  58. );
  59. $export['TripalEntity|bio_data_45|default'] = $ds_layout;
  60. return $export;
  61. }