views_content.views.inc 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * @file
  4. * Contains Views plugin definitions for the panel pane display.
  5. */
  6. /**
  7. * Implements hook_views_plugins
  8. */
  9. function views_content_views_plugins() {
  10. return array(
  11. 'display' => array(
  12. 'panel_pane' => array(
  13. 'title' => t('Content pane'),
  14. 'admin' => t('Content pane'),
  15. 'help' => t('Is available as content for a panel or dashboard display.'),
  16. 'handler' => 'views_content_plugin_display_panel_pane',
  17. 'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
  18. 'theme path' => drupal_get_path('module', 'views') . '/theme',
  19. 'theme' => 'views_view',
  20. 'register theme' => FALSE,
  21. 'use ajax' => TRUE,
  22. 'use pager' => TRUE,
  23. 'use more' => TRUE,
  24. 'accept attachments' => TRUE,
  25. 'help topic' => 'display-pane',
  26. 'contextual links locations' => array('panel_pane', 'view'),
  27. ),
  28. 'ctools_context' => array(
  29. 'title' => t('Context'),
  30. 'admin' => t('Context'),
  31. 'help' => t('Makes the view results available as a context for use in Panels and other applications.'),
  32. 'handler' => 'views_content_plugin_display_ctools_context',
  33. 'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
  34. 'theme path' => drupal_get_path('module', 'views') . '/theme',
  35. 'theme' => 'views_view',
  36. 'register theme' => FALSE,
  37. 'use ajax' => FALSE,
  38. 'use pager' => TRUE,
  39. 'use more' => FALSE,
  40. 'accept attachments' => TRUE,
  41. 'returns context' => TRUE,
  42. 'help topic' => 'display-context',
  43. ),
  44. ),
  45. 'style' => array(
  46. 'ctools_context' => array(
  47. 'title' => t('Context'),
  48. 'help' => t('Contains rows in contexts.'),
  49. 'handler' => 'views_content_plugin_style_ctools_context',
  50. 'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
  51. 'theme path' => drupal_get_path('module', 'views') . '/theme',
  52. 'theme' => 'views_view_unformatted',
  53. 'register theme' => FALSE,
  54. 'uses row plugin' => TRUE,
  55. 'uses row class' => TRUE,
  56. 'uses fields' => TRUE,
  57. 'uses options' => TRUE,
  58. 'type' => 'context',
  59. 'help topic' => 'style-context',
  60. ),
  61. ),
  62. );
  63. }