panels.views.inc 774 B

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