You are here

function heartbeat_defaults_ds_layout_settings_info in Heartbeat 7

Implements hook_ds_layout_settings_info().

File

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

Code

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

  /**
   * heartbeat_add_comment
   */
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_add_comment|default';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_add_comment';
  $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_comment|default'] = $ds_layout;
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_add_comment|full';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_add_comment';
  $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_comment|full'] = $ds_layout;

  /**
   * heartbeat_add_node
   */
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_add_node|default';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_add_node';
  $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_node|default'] = $ds_layout;
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_add_node|full';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_add_node';
  $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_node|full'] = $ds_layout;

  /**
   * heartbeat_edit_account
   */
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_edit_account|default';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_edit_account';
  $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_edit_account|default'] = $ds_layout;
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_edit_account|full';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_edit_account';
  $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_edit_account|full'] = $ds_layout;

  /**
   * heartbeat_edit_node
   */
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_edit_node|default';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_edit_node';
  $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_edit_node|default'] = $ds_layout;
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_edit_node|full';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_edit_node';
  $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_edit_node|full'] = $ds_layout;

  /**
   * heartbeat_tweet
   */
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_tweet|default';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_tweet';
  $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 => 'field_tweet',
        1 => 'time',
      ),
    ),
    'fields' => array(
      'avatar' => 'heartbeat_left',
      'field_tweet' => 'heartbeat_content',
      'time' => 'heartbeat_content',
    ),
    'classes' => array(),
  );
  $ds_layouts['heartbeat_activity|heartbeat_tweet|default'] = $ds_layout;
  $ds_layout = new stdClass();
  $ds_layout->api_version = 1;
  $ds_layout->id = 'heartbeat_activity|heartbeat_tweet|full';
  $ds_layout->entity_type = 'heartbeat_activity';
  $ds_layout->bundle = 'heartbeat_tweet';
  $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 => 'field_tweet',
        1 => 'field_image',
        2 => 'field_file',
      ),
      'heartbeat_footer' => array(
        0 => 'time',
        1 => 'buttons',
        2 => 'attachments',
      ),
    ),
    'fields' => array(
      'avatar' => 'heartbeat_left',
      'field_tweet' => 'heartbeat_content',
      'field_image' => 'heartbeat_content',
      'field_file' => 'heartbeat_content',
      'time' => 'heartbeat_footer',
      'buttons' => 'heartbeat_footer',
      'attachments' => 'heartbeat_footer',
    ),
    'classes' => array(),
  );
  $ds_layouts['heartbeat_activity|heartbeat_tweet|full'] = $ds_layout;

  /**
   * heartbeat_become_friends
   */
  if (module_exists('flag_friend') || module_exists('user_relationships')) {
    $ds_layout = new stdClass();
    $ds_layout->api_version = 1;
    $ds_layout->id = 'heartbeat_activity|heartbeat_become_friends|default';
    $ds_layout->entity_type = 'heartbeat_activity';
    $ds_layout->bundle = 'heartbeat_become_friends';
    $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_friends|default'] = $ds_layout;
    $ds_layout = new stdClass();
    $ds_layout->api_version = 1;
    $ds_layout->id = 'heartbeat_activity|heartbeat_become_friends|full';
    $ds_layout->entity_type = 'heartbeat_activity';
    $ds_layout->bundle = 'heartbeat_become_friends';
    $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_friends|full'] = $ds_layout;
  }
  return $ds_layouts;
}