function panelizer_views_plugins in Panelizer 6
Same name and namespace in other branches
- 7 plugins/views/panelizer.views.inc \panelizer_views_plugins()
Implementation of hook_views_plugins().
File
- plugins/
views/ panelizer.views.inc, line 41 - Panelizer views integration code.
Code
function panelizer_views_plugins() {
$path = drupal_get_path('module', 'panelizer') . '/plugins/views';
return array(
'row' => array(
'panelizer_node_view' => array(
'title' => t('Panelizer node view'),
'help' => t('Render nodes using the panels display for any that have been panelized.'),
'handler' => 'panelizer_plugin_row_panelizer_node_view',
'parent' => 'node',
'base' => array(
'node',
),
// only works with 'node' as base.
'path' => $path,
'uses options' => TRUE,
'type' => 'normal',
),
),
);
}