1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /**
- * @file
- * features_test.views_default.inc
- */
- /**
- * Implements hook_views_default_views().
- */
- function features_test_views_default_views() {
- $export = array();
- $view = new view();
- $view->name = 'features_test';
- $view->description = 'Test view provided by Features testing module.';
- $view->tag = 'testing';
- $view->base_table = 'node';
- $view->human_name = '';
- $view->core = 0;
- $view->api_version = '3.0';
- $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
- /* Display: Defaults */
- $handler = $view->new_display('default', 'Defaults', 'default');
- $handler->display->display_options['title'] = 'Test';
- $handler->display->display_options['use_more_always'] = FALSE;
- $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['style_plugin'] = 'default';
- $handler->display->display_options['row_plugin'] = 'node';
- $export['features_test'] = $view;
- return $export;
- }
|