summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Lindsay2014-10-19 09:40:47 (GMT)
committerAnthony Lindsay2014-10-19 09:40:47 (GMT)
commit550cca7ca92f28aa59a0aefd862fabb20d7fb9da (patch)
treec6634f200c0935c178c3dff1a584699742158342
parent8ee61927a378112b24d66c34dff95fac13baafb3 (diff)
Removed deleted views file.
-rw-r--r--commerce_popular_products.views.inc83
1 files changed, 0 insertions, 83 deletions
diff --git a/commerce_popular_products.views.inc b/commerce_popular_products.views.inc
deleted file mode 100644
index ac91d91..0000000
--- a/commerce_popular_products.views.inc
+++ /dev/null
@@ -1,83 +0,0 @@
-<?php
-/**
- * @file
- * Defines the default View to display popular products.
- */
-
-/**
- * Implements hook_views_default_views().
- */
-function commerce_popular_products_views_default_views() {
- $export = array();
-
- $view = new view();
- $view->name = 'popular_commerce_products';
- $view->description = '';
- $view->tag = 'default';
- $view->base_table = 'node';
- $view->human_name = 'Popular Commerce Products';
- $view->core = 7;
- $view->api_version = '3.0';
- $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['title'] = 'Popular Products';
- $handler->display->display_options['access']['type'] = 'perm';
- $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'] = 'some';
- $handler->display->display_options['pager']['options']['items_per_page'] = '1';
- $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']['label'] = '';
- $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']['absolute'] = 0;
- $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
- $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
- $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
- $handler->display->display_options['fields']['title']['alter']['trim'] = 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'] = 1;
- /* Sort criterion: Content: Post date */
- $handler->display->display_options['sorts']['created']['id'] = 'created';
- $handler->display->display_options['sorts']['created']['table'] = 'node';
- $handler->display->display_options['sorts']['created']['field'] = 'created';
- $handler->display->display_options['sorts']['created']['order'] = 'DESC';
- /* Contextual filter: Content: Nid */
- $handler->display->display_options['arguments']['nid']['id'] = 'nid';
- $handler->display->display_options['arguments']['nid']['table'] = 'node';
- $handler->display->display_options['arguments']['nid']['field'] = 'nid';
- $handler->display->display_options['arguments']['nid']['default_action'] = 'not found';
- $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed';
- $handler->display->display_options['arguments']['nid']['default_argument_skip_url'] = 0;
- $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
- $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
- $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
- $handler->display->display_options['arguments']['nid']['break_phrase'] = 0;
- $handler->display->display_options['arguments']['nid']['not'] = 0;
- /* Filter criterion: Content: Published */
- $handler->display->display_options['filters']['status']['id'] = 'status';
- $handler->display->display_options['filters']['status']['table'] = 'node';
- $handler->display->display_options['filters']['status']['field'] = 'status';
- $handler->display->display_options['filters']['status']['value'] = 1;
- $handler->display->display_options['filters']['status']['group'] = 1;
- $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
-
- /* Display: Block */
- $handler = $view->new_display('block', 'Block', 'popular_products_block');
- $handler->display->display_options['block_description'] = 'Popular Commerce Products Block';
-
- $export['popular_commerce_products'] = $view;
-
- return $export;
-}