| 1 | $view = new view; |
|---|
| 2 | $view->name = 'feeds'; |
|---|
| 3 | $view->description = 'Aggregated RSS Feeds'; |
|---|
| 4 | $view->tag = 'ussf2010'; |
|---|
| 5 | $view->view_php = ''; |
|---|
| 6 | $view->base_table = 'node'; |
|---|
| 7 | $view->is_cacheable = FALSE; |
|---|
| 8 | $view->api_version = 2; |
|---|
| 9 | $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
|---|
| 10 | $handler = $view->new_display('default', 'Defaults', 'default'); |
|---|
| 11 | $handler->override_option('filters', array( |
|---|
| 12 | 'type' => array( |
|---|
| 13 | 'operator' => 'in', |
|---|
| 14 | 'value' => array( |
|---|
| 15 | 'feed_item' => 'feed_item', |
|---|
| 16 | ), |
|---|
| 17 | 'group' => '0', |
|---|
| 18 | 'exposed' => FALSE, |
|---|
| 19 | 'expose' => array( |
|---|
| 20 | 'operator' => FALSE, |
|---|
| 21 | 'label' => '', |
|---|
| 22 | ), |
|---|
| 23 | 'id' => 'type', |
|---|
| 24 | 'table' => 'node', |
|---|
| 25 | 'field' => 'type', |
|---|
| 26 | 'relationship' => 'none', |
|---|
| 27 | ), |
|---|
| 28 | 'status' => array( |
|---|
| 29 | 'operator' => '=', |
|---|
| 30 | 'value' => '1', |
|---|
| 31 | 'group' => '0', |
|---|
| 32 | 'exposed' => FALSE, |
|---|
| 33 | 'expose' => array( |
|---|
| 34 | 'operator' => FALSE, |
|---|
| 35 | 'label' => '', |
|---|
| 36 | ), |
|---|
| 37 | 'id' => 'status', |
|---|
| 38 | 'table' => 'node', |
|---|
| 39 | 'field' => 'status', |
|---|
| 40 | 'relationship' => 'none', |
|---|
| 41 | ), |
|---|
| 42 | )); |
|---|
| 43 | $handler->override_option('access', array( |
|---|
| 44 | 'type' => 'none', |
|---|
| 45 | )); |
|---|
| 46 | $handler->override_option('cache', array( |
|---|
| 47 | 'type' => 'none', |
|---|
| 48 | )); |
|---|
| 49 | $handler->override_option('row_plugin', 'node'); |
|---|
| 50 | $handler->override_option('row_options', array( |
|---|
| 51 | 'relationship' => 'none', |
|---|
| 52 | 'build_mode' => 'full', |
|---|
| 53 | 'links' => 1, |
|---|
| 54 | 'comments' => 0, |
|---|
| 55 | )); |
|---|
| 56 | $handler = $view->new_display('page', 'Page', 'page_1'); |
|---|
| 57 | $handler->override_option('path', 'feeds'); |
|---|
| 58 | $handler->override_option('menu', array( |
|---|
| 59 | 'type' => 'none', |
|---|
| 60 | 'title' => '', |
|---|
| 61 | 'description' => '', |
|---|
| 62 | 'weight' => 0, |
|---|
| 63 | 'name' => 'navigation', |
|---|
| 64 | )); |
|---|
| 65 | $handler->override_option('tab_options', array( |
|---|
| 66 | 'type' => 'none', |
|---|
| 67 | 'title' => '', |
|---|
| 68 | 'description' => '', |
|---|
| 69 | 'weight' => 0, |
|---|
| 70 | 'name' => 'navigation', |
|---|
| 71 | )); |
|---|
| 72 | |
|---|