Projet

Général

Profil

Paste
Télécharger (2,25 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / ctools / views_content / plugins / views / views_content.views.inc @ 6e3ce7c2

1
<?php
2

    
3
/**
4
 * @file
5
 * Contains Views plugin definitions for the panel pane display.
6
 */
7

    
8
/**
9
 * Implements hook_views_plugins().
10
 */
11
function views_content_views_plugins() {
12
  return array(
13
    'display' => array(
14
      'panel_pane' => array(
15
        'title' => t('Content pane'),
16
        'admin' => t('Content pane'),
17
        'help' => t('Is available as content for a panel or dashboard display.'),
18
        'handler' => 'views_content_plugin_display_panel_pane',
19
        'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
20
        'theme path' => drupal_get_path('module', 'views') . '/theme',
21
        'theme' => 'views_view',
22
        'register theme' => FALSE,
23
        'use ajax' => TRUE,
24
        'use pager' => TRUE,
25
        'use more' => TRUE,
26
        'accept attachments' => TRUE,
27
        'help topic' => 'display-pane',
28
        'contextual links locations' => array('panel_pane', 'view'),
29
      ),
30
      'ctools_context' => array(
31
        'title' => t('Context'),
32
        'admin' => t('Context'),
33
        'help' => t('Makes the view results available as a context for use in Panels and other applications.'),
34
        'handler' => 'views_content_plugin_display_ctools_context',
35
        'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
36
        'theme path' => drupal_get_path('module', 'views') . '/theme',
37
        'theme' => 'views_view',
38
        'register theme' => FALSE,
39
        'use ajax' => FALSE,
40
        'use pager' => TRUE,
41
        'use more' => FALSE,
42
        'accept attachments' => TRUE,
43
        'returns context' => TRUE,
44
        'help topic' => 'display-context',
45
      ),
46
    ),
47
    'style' => array(
48
      'ctools_context' => array(
49
        'title' => t('Context'),
50
        'help' => t('Contains rows in contexts.'),
51
        'handler' => 'views_content_plugin_style_ctools_context',
52
        'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
53
        'theme path' => drupal_get_path('module', 'views') . '/theme',
54
        'theme' => 'views_view_unformatted',
55
        'register theme' => FALSE,
56
        'uses row plugin' => TRUE,
57
        'uses row class' => TRUE,
58
        'uses fields' => TRUE,
59
        'uses options' => TRUE,
60
        'type' => 'context',
61
        'help topic' => 'style-context',
62
      ),
63
    ),
64
  );
65
}