popsu-d7/sites/all/modules/features/tests/features_test.views_default.inc
Bachir Soussi Chiadmi 1bc61b12ad first import
2015-04-08 11:40:19 +02:00

38 lines
1.3 KiB
PHP

<?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['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;
}