You are here

function heartbeat_og_ds_layout_settings_info in Heartbeat 7

Implements hook_ds_layout_settings_info().

File

modules/heartbeat_og/heartbeat_og.ds.inc, line 11
Bulk export of ds objects generated by Bulk export module.

Code

function heartbeat_og_ds_layout_settings_info() {
  $dslayouts = array();

  /**
   * heartbeat_add_grouppost
   */
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_add_grouppost|default';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_add_grouppost';
  $ds_layout->view_mode = 'default';
  $ds_layout->layout = 'heartbeat_2col';
  $ds_layout->settings = array(
    'hide_empty_regions' => 0,
    'hide_sidebars' => 0,
    'regions' => array(
      'heartbeat_left' => array(
        0 => 'avatar',
      ),
      'heartbeat_content' => array(
        0 => 'message',
      ),
    ),
    'fields' => array(
      'avatar' => 'heartbeat_left',
      'message' => 'heartbeat_content',
    ),
    'classes' => array(),
  );
  $ds_layouts['heartbeat_activity|heartbeat_add_grouppost|default'] = $ds_layout;
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_add_grouppost|full';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_add_grouppost';
  $ds_layout->view_mode = 'full';
  $ds_layout->layout = 'heartbeat_2col';
  $ds_layout->settings = array(
    'hide_empty_regions' => 0,
    'hide_sidebars' => 0,
    'regions' => array(
      'heartbeat_left' => array(
        0 => 'avatar',
      ),
      'heartbeat_content' => array(
        0 => 'message',
      ),
      'heartbeat_footer' => array(
        0 => 'time',
        1 => 'buttons',
        2 => 'attachments',
      ),
    ),
    'fields' => array(
      'avatar' => 'heartbeat_left',
      'message' => 'heartbeat_content',
      'time' => 'heartbeat_footer',
      'buttons' => 'heartbeat_footer',
      'attachments' => 'heartbeat_footer',
    ),
    'classes' => array(),
  );
  $ds_layouts['heartbeat_activity|heartbeat_add_grouppost|full'] = $ds_layout;

  /**
   * heartbeat_become_group_member
   */
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_become_group_member|default';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_become_group_member';
  $ds_layout->view_mode = 'default';
  $ds_layout->layout = 'heartbeat_2col';
  $ds_layout->settings = array(
    'hide_empty_regions' => 0,
    'hide_sidebars' => 0,
    'regions' => array(
      'heartbeat_left' => array(
        0 => 'avatar',
      ),
      'heartbeat_content' => array(
        0 => 'message',
      ),
      'heartbeat_footer' => array(
        0 => 'time',
        1 => 'buttons',
        2 => 'attachments',
      ),
    ),
    'fields' => array(
      'avatar' => 'heartbeat_left',
      'message' => 'heartbeat_content',
      'time' => 'heartbeat_footer',
      'buttons' => 'heartbeat_footer',
      'attachments' => 'heartbeat_footer',
    ),
    'classes' => array(),
  );
  $ds_layouts['heartbeat_activity|heartbeat_become_group_member|default'] = $ds_layout;
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_become_group_member|full';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_become_group_member';
  $ds_layout->view_mode = 'full';
  $ds_layout->layout = 'heartbeat_2col';
  $ds_layout->settings = array(
    'hide_empty_regions' => 0,
    'hide_sidebars' => 0,
    'regions' => array(
      'heartbeat_left' => array(
        0 => 'avatar',
      ),
      'heartbeat_content' => array(
        0 => 'message',
        1 => 'time',
      ),
      'heartbeat_footer' => array(
        0 => 'buttons',
        1 => 'attachments',
      ),
    ),
    'fields' => array(
      'avatar' => 'heartbeat_left',
      'message' => 'heartbeat_content',
      'time' => 'heartbeat_content',
      'buttons' => 'heartbeat_footer',
      'attachments' => 'heartbeat_footer',
    ),
    'classes' => array(),
  );
  $ds_layouts['heartbeat_activity|heartbeat_become_group_member|full'] = $ds_layout;
  return $dslayouts;
}