| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Implementation of hook_views_default_views(). 5 */ 6 function features_test_views_default_views() { 7 $views = array(); 8 9 // Exported view: features_test 10 $view = new view; 11 $view->name = 'features_test'; 12 $view->description = 'Test view provided by Features testing module.'; 13 $view->tag = 'testing'; 14 $view->view_php = ''; 15 $view->base_table = 'node'; 16 $view->is_cacheable = FALSE; 17 $view->api_version = 2; 18 $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ 19 $handler = $view->new_display('default', 'Defaults', 'default'); 20 $handler->override_option('access', array( 21 'type' => 'none', 22 )); 23 $handler->override_option('cache', array( 24 'type' => 'none', 25 )); 26 $handler->override_option('title', 'Test'); 27 $handler->override_option('row_plugin', 'node'); 28 29 $views[$view->name] = $view; 30 31 return $views; 32 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |