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