You are here

heartbeat_defaults.views_default.inc in Heartbeat 7

Bulk export of views_default objects generated by Bulk export module.

File

modules/heartbeat_defaults/heartbeat_defaults.views_default.inc
View source
<?php

/**
 * @file
 * Bulk export of views_default objects generated by Bulk export module.
 */

/**
 * Implements hook_views_default_views().
 */
function heartbeat_defaults_views_default_views() {
  $views = array();
  $view = new view();
  $view->name = 'heartbeat_activity_fields_';
  $view->description = 'Basic heartbeat activity streams in fields mode';
  $view->tag = 'default';
  $view->base_table = 'heartbeat_activity';
  $view->human_name = 'Heartbeat Activity (fields)';
  $view->core = 7;
  $view->api_version = '3.0';
  $view->disabled = FALSE;

  /* Edit this to true to make a default view disabled initially */

  /* Display: Master */
  $handler = $view
    ->new_display('default', 'Master', 'default');
  $handler->display->display_options['title'] = 'Heartbeat Activity View page';
  $handler->display->display_options['access']['type'] = 'none';
  $handler->display->display_options['cache']['type'] = 'none';
  $handler->display->display_options['query']['type'] = 'views_query';
  $handler->display->display_options['query']['options']['query_comment'] = FALSE;
  $handler->display->display_options['exposed_form']['type'] = 'basic';
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  $handler->display->display_options['style_plugin'] = 'default';
  $handler->display->display_options['row_plugin'] = 'fields';

  /* Field: Heartbeat activity: Activity message */
  $handler->display->display_options['fields']['message']['id'] = 'message';
  $handler->display->display_options['fields']['message']['table'] = 'heartbeat_activity';
  $handler->display->display_options['fields']['message']['field'] = 'message';
  $handler->display->display_options['fields']['message']['label'] = '';
  $handler->display->display_options['fields']['message']['alter']['alter_text'] = 0;
  $handler->display->display_options['fields']['message']['alter']['make_link'] = 0;
  $handler->display->display_options['fields']['message']['alter']['absolute'] = 0;
  $handler->display->display_options['fields']['message']['alter']['external'] = 0;
  $handler->display->display_options['fields']['message']['alter']['replace_spaces'] = 0;
  $handler->display->display_options['fields']['message']['alter']['trim_whitespace'] = 0;
  $handler->display->display_options['fields']['message']['alter']['nl2br'] = 0;
  $handler->display->display_options['fields']['message']['alter']['word_boundary'] = 1;
  $handler->display->display_options['fields']['message']['alter']['ellipsis'] = 1;
  $handler->display->display_options['fields']['message']['alter']['strip_tags'] = 0;
  $handler->display->display_options['fields']['message']['alter']['trim'] = 0;
  $handler->display->display_options['fields']['message']['alter']['html'] = 0;
  $handler->display->display_options['fields']['message']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['message']['element_default_classes'] = 1;
  $handler->display->display_options['fields']['message']['hide_empty'] = 0;
  $handler->display->display_options['fields']['message']['empty_zero'] = 0;
  $handler->display->display_options['fields']['message']['hide_alter_empty'] = 0;

  /* Field: Heartbeat activity: Creation date */
  $handler->display->display_options['fields']['created_at']['id'] = 'created_at';
  $handler->display->display_options['fields']['created_at']['table'] = 'heartbeat_activity';
  $handler->display->display_options['fields']['created_at']['field'] = 'created_at';
  $handler->display->display_options['fields']['created_at']['label'] = '';
  $handler->display->display_options['fields']['created_at']['alter']['alter_text'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['make_link'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['absolute'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['external'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['replace_spaces'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['trim_whitespace'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['nl2br'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['word_boundary'] = 1;
  $handler->display->display_options['fields']['created_at']['alter']['ellipsis'] = 1;
  $handler->display->display_options['fields']['created_at']['alter']['strip_tags'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['trim'] = 0;
  $handler->display->display_options['fields']['created_at']['alter']['html'] = 0;
  $handler->display->display_options['fields']['created_at']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['created_at']['element_default_classes'] = 1;
  $handler->display->display_options['fields']['created_at']['hide_empty'] = 0;
  $handler->display->display_options['fields']['created_at']['empty_zero'] = 0;
  $handler->display->display_options['fields']['created_at']['hide_alter_empty'] = 0;
  $handler->display->display_options['fields']['created_at']['date_format'] = 'time ago';

  /* Field: Heartbeat activity: Buttons */
  $handler->display->display_options['fields']['buttons']['id'] = 'buttons';
  $handler->display->display_options['fields']['buttons']['table'] = 'heartbeat_activity';
  $handler->display->display_options['fields']['buttons']['field'] = 'buttons';
  $handler->display->display_options['fields']['buttons']['label'] = '';
  $handler->display->display_options['fields']['buttons']['alter']['alter_text'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['make_link'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['absolute'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['external'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['replace_spaces'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['trim_whitespace'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['nl2br'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['word_boundary'] = 1;
  $handler->display->display_options['fields']['buttons']['alter']['ellipsis'] = 1;
  $handler->display->display_options['fields']['buttons']['alter']['strip_tags'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['trim'] = 0;
  $handler->display->display_options['fields']['buttons']['alter']['html'] = 0;
  $handler->display->display_options['fields']['buttons']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['buttons']['element_default_classes'] = 1;
  $handler->display->display_options['fields']['buttons']['hide_empty'] = 0;
  $handler->display->display_options['fields']['buttons']['empty_zero'] = 0;
  $handler->display->display_options['fields']['buttons']['hide_alter_empty'] = 0;

  /* Field: Heartbeat activity: Attachments */
  $handler->display->display_options['fields']['attachments']['id'] = 'attachments';
  $handler->display->display_options['fields']['attachments']['table'] = 'heartbeat_activity';
  $handler->display->display_options['fields']['attachments']['field'] = 'attachments';
  $handler->display->display_options['fields']['attachments']['label'] = '';
  $handler->display->display_options['fields']['attachments']['alter']['alter_text'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['make_link'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['absolute'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['external'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['replace_spaces'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['trim_whitespace'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['nl2br'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['word_boundary'] = 1;
  $handler->display->display_options['fields']['attachments']['alter']['ellipsis'] = 1;
  $handler->display->display_options['fields']['attachments']['alter']['strip_tags'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['trim'] = 0;
  $handler->display->display_options['fields']['attachments']['alter']['html'] = 0;
  $handler->display->display_options['fields']['attachments']['element_label_colon'] = FALSE;
  $handler->display->display_options['fields']['attachments']['element_default_classes'] = 1;
  $handler->display->display_options['fields']['attachments']['hide_empty'] = 0;
  $handler->display->display_options['fields']['attachments']['empty_zero'] = 0;
  $handler->display->display_options['fields']['attachments']['hide_alter_empty'] = 0;

  /* Display: Page */
  $handler = $view
    ->new_display('page', 'Page', 'page');
  $handler->display->display_options['path'] = 'heartbeat-activity';
  $handler->display->display_options['menu']['type'] = 'normal';
  $handler->display->display_options['menu']['title'] = 'Heartbeat Activity View';
  $handler->display->display_options['menu']['name'] = 'menu-streams';

  /* Display: Feed */
  $handler = $view
    ->new_display('feed', 'Feed', 'feed');
  $handler->display->display_options['pager']['type'] = 'some';
  $handler->display->display_options['style_plugin'] = 'rss';
  $handler->display->display_options['row_plugin'] = 'heartbeat_activity_rss';
  $handler->display->display_options['path'] = 'heartbeat-activity.xml';
  $handler->display->display_options['displays'] = array(
    'default' => 'default',
    'page' => 'page',
  );

  /* Display: Block */
  $handler = $view
    ->new_display('block', 'Block', 'block');
  $handler->display->display_options['defaults']['title'] = FALSE;
  $handler->display->display_options['title'] = 'Heartbeat Activity View Block';
  $handler->display->display_options['defaults']['pager'] = FALSE;
  $handler->display->display_options['pager']['type'] = 'full';
  $handler->display->display_options['pager']['options']['items_per_page'] = '5';
  $translatables['heartbeat_activity_fields_'] = array(
    t('Master'),
    t('Heartbeat Activity View page'),
    t('more'),
    t('Apply'),
    t('Reset'),
    t('Sort by'),
    t('Asc'),
    t('Desc'),
    t('Items per page'),
    t('- All -'),
    t('Offset'),
    t('Page'),
    t('Feed'),
    t('Block'),
    t('Heartbeat Activity View Block'),
  );
  $views['heartbeat_activity_fields_'] = $view;
  return $views;
}