SHARE
TWEET

Untitled

a guest Apr 15th, 2013 294 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $view = new view();
  4. $view->name = 'landing_page_content';
  5. $view->description = '';
  6. $view->tag = 'default';
  7. $view->base_table = 'menu_links';
  8. $view->human_name = 'Landing Page Content';
  9. $view->core = 7;
  10. $view->api_version = '3.0';
  11. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  12.  
  13. /* Display: Master */
  14. $handler = $view->new_display('default', 'Master', 'default');
  15. $handler->display->display_options['use_more_always'] = FALSE;
  16. $handler->display->display_options['access']['type'] = 'none';
  17. $handler->display->display_options['cache']['type'] = 'none';
  18. $handler->display->display_options['query']['type'] = 'views_query';
  19. $handler->display->display_options['exposed_form']['type'] = 'basic';
  20. $handler->display->display_options['pager']['type'] = 'none';
  21. $handler->display->display_options['pager']['options']['offset'] = '0';
  22. $handler->display->display_options['style_plugin'] = 'default';
  23. $handler->display->display_options['row_plugin'] = 'fields';
  24. /* Relationship: Menu: Parent menu link id */
  25. $handler->display->display_options['relationships']['plid']['id'] = 'plid';
  26. $handler->display->display_options['relationships']['plid']['table'] = 'menu_links';
  27. $handler->display->display_options['relationships']['plid']['field'] = 'plid';
  28. /* Field: Menu: Link title */
  29. $handler->display->display_options['fields']['link_title']['id'] = 'link_title';
  30. $handler->display->display_options['fields']['link_title']['table'] = 'menu_links';
  31. $handler->display->display_options['fields']['link_title']['field'] = 'link_title';
  32. $handler->display->display_options['fields']['link_title']['label'] = '';
  33. $handler->display->display_options['fields']['link_title']['element_label_colon'] = FALSE;
  34. $handler->display->display_options['fields']['link_title']['link_to_item'] = 1;
  35. /* Field: Menu: Description */
  36. $handler->display->display_options['fields']['description']['id'] = 'description';
  37. $handler->display->display_options['fields']['description']['table'] = 'menu_links';
  38. $handler->display->display_options['fields']['description']['field'] = 'description';
  39. $handler->display->display_options['fields']['description']['label'] = '';
  40. $handler->display->display_options['fields']['description']['element_label_colon'] = FALSE;
  41. /* Contextual filter: Menu: Node id */
  42. $handler->display->display_options['arguments']['nid']['id'] = 'nid';
  43. $handler->display->display_options['arguments']['nid']['table'] = 'menu_links';
  44. $handler->display->display_options['arguments']['nid']['field'] = 'nid';
  45. $handler->display->display_options['arguments']['nid']['default_action'] = 'default';
  46. $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'node';
  47. $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
  48. $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
  49. $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
  50. $handler->display->display_options['arguments']['nid']['depth'] = '1';
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top