summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/tests/views_test.views_default.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/tests/views_test.views_default.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/tests/views_test.views_default.inc79
1 files changed, 78 insertions, 1 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/tests/views_test.views_default.inc b/kolab.org/www/drupal-7.15/sites/all/modules/views/tests/views_test.views_default.inc
index dce5906..0448705 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/tests/views_test.views_default.inc
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/tests/views_test.views_default.inc
@@ -1,7 +1,8 @@
<?php
+
/**
* @file
- * Test views
+ * Tests views.
*/
/**
@@ -141,5 +142,81 @@ function views_test_views_default_views() {
$views[$view->name] = $view;
+ $view = new view;
+ $view->name = 'test_argument_default_current_user';
+ $view->description = '';
+ $view->tag = '';
+ $view->view_php = '';
+ $view->base_table = 'node';
+ $view->is_cacheable = FALSE;
+ $view->api_version = 3;
+ $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['access']['type'] = 'none';
+ $handler->display->display_options['cache']['type'] = 'none';
+ $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['pager']['options']['offset'] = '0';
+ $handler->display->display_options['pager']['options']['id'] = '0';
+ $handler->display->display_options['style_plugin'] = 'default';
+ $handler->display->display_options['row_plugin'] = 'fields';
+ /* Field: Content: Title */
+ $handler->display->display_options['fields']['title']['id'] = 'title';
+ $handler->display->display_options['fields']['title']['table'] = 'node';
+ $handler->display->display_options['fields']['title']['field'] = 'title';
+ $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
+ $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['title']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['title']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['title']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['title']['link_to_node'] = 0;
+ /* Contextual filter: Content: Author uid */
+ $handler->display->display_options['arguments']['uid']['id'] = 'uid';
+ $handler->display->display_options['arguments']['uid']['table'] = 'node';
+ $handler->display->display_options['arguments']['uid']['field'] = 'uid';
+ $handler->display->display_options['arguments']['uid']['default_action'] = 'default';
+
+ $views[$view->name] = $view;
+
+ $view = new view();
+ $view->name = 'test_feed_http_headers_caching';
+ $view->description = '';
+ $view->tag = '';
+ $view->base_table = 'node';
+ $view->core = 7;
+ $view->api_version = '3.0';
+ $view->disabled = FALSE;
+
+ /* Display: Master */
+ $handler = $view->new_display('default', 'Master', 'default');
+ $handler->display->display_options['access']['type'] = 'none';
+ $handler->display->display_options['cache']['type'] = 'time';
+ $handler->display->display_options['cache']['results_lifespan'] = '3600';
+ $handler->display->display_options['cache']['results_lifespan_custom'] = '0';
+ $handler->display->display_options['cache']['output_lifespan'] = '3600';
+ $handler->display->display_options['cache']['output_lifespan_custom'] = '0';
+ $handler->display->display_options['query']['type'] = 'views_query';
+ $handler->display->display_options['exposed_form']['type'] = 'basic';
+ $handler->display->display_options['pager']['type'] = 'full';
+ $handler->display->display_options['style_plugin'] = 'default';
+ $handler->display->display_options['row_plugin'] = 'node';
+
+ /* Display: Feed */
+ $handler = $view->new_display('feed', 'Feed', 'feed_1');
+ $handler->display->display_options['pager']['type'] = 'none';
+ $handler->display->display_options['pager']['options']['offset'] = '0';
+ $handler->display->display_options['style_plugin'] = 'rss';
+ $handler->display->display_options['row_plugin'] = 'node_rss';
+ $handler->display->display_options['path'] = 'test_feed_http_headers_caching';
+
+ $views[$view->name] = $view;
+
return $views;
}