You are here

function panelizer_views_plugins in Panelizer 7

Same name and namespace in other branches
  1. 6 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 display'),
        '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',
      ),
    ),
  );
}