panels.views.inc 793 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @file
  4. */
  5. /**
  6. * Implementation of hook_views_plugins.
  7. */
  8. function panels_views_plugins() {
  9. $plugins = array(
  10. 'row' => array(
  11. 'panels_fields' => array(
  12. 'title' => t('Panel fields'),
  13. 'help' => t('Displays the fields in a panel rather than using a template.'),
  14. 'handler' => 'panels_views_plugin_row_fields',
  15. 'path' => drupal_get_path('module', 'panels') . '/plugins/views',
  16. 'theme' => 'views_view_fields',
  17. 'theme path' => drupal_get_path('module', 'views') . '/theme',
  18. 'register theme' => FALSE,
  19. 'uses fields' => TRUE,
  20. 'uses options' => TRUE,
  21. 'type' => 'normal',
  22. 'help topic' => 'style-row-panels-fields',
  23. 'parent' => 'fields',
  24. ),
  25. ),
  26. );
  27. return $plugins;
  28. }