summaryrefslogtreecommitdiff
path: root/sites/all/modules/ctools/views_content/plugins/views/views_content.views.inc
blob: 644ac547b4ab164c8c3b33c4517593658755bad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php

/**
 * @file
 * Contains Views plugin definitions for the panel pane display.
 */

/**
 * Implements hook_views_plugins
 */
function views_content_views_plugins() {
  return array(
    'display' => array(
      'panel_pane' => array(
        'title' => t('Content pane'),
        'admin' => t('Content pane'),
        'help' => t('Is available as content for a panel or dashboard display.'),
        'handler' => 'views_content_plugin_display_panel_pane',
        'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
        'theme path' => drupal_get_path('module', 'views') . '/theme',
        'theme' => 'views_view',
        'register theme' => FALSE,
        'use ajax' => TRUE,
        'use pager' => TRUE,
        'use more' => TRUE,
        'accept attachments' => TRUE,
        'help topic' => 'display-pane',
        'contextual links locations' => array('panel_pane'),
      ),
      'ctools_context' => array(
        'title' => t('Context'),
        'admin' => t('Context'),
        'help' => t('Makes the view results available as a context for use in Panels and other applications.'),
        'handler' => 'views_content_plugin_display_ctools_context',
        'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
        'theme path' => drupal_get_path('module', 'views') . '/theme',
        'theme' => 'views_view',
        'register theme' => FALSE,
        'use ajax' => FALSE,
        'use pager' => TRUE,
        'use more' => FALSE,
        'accept attachments' => TRUE,
        'returns context' => TRUE,
        'help topic' => 'display-context',
      ),
    ),
    'style' => array(
      'ctools_context' => array(
        'title' => t('Context'),
        'help' => t('Contains rows in contexts.'),
        'handler' => 'views_content_plugin_style_ctools_context',
        'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
        'theme path' => drupal_get_path('module', 'views') . '/theme',
        'theme' => 'views_view_unformatted',
        'register theme' => FALSE,
        'uses row plugin' => TRUE,
        'uses row class' => TRUE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'type' => 'context',
        'help topic' => 'style-context',
      ),
    ),
  );
}