[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/ctools/views_content/plugins/views/ -> views_content.views.inc (source)

   1  <?php
   2  // $Id: views_content.views.inc,v 1.2.2.2 2010/10/29 20:13:15 merlinofchaos Exp $
   3  
   4  /**
   5   * @file
   6   * Contains Views plugin definitions for the panel pane display.
   7   */
   8  
   9  /**
  10   * Implementation of hook_views_plugins
  11   */
  12  function views_content_views_plugins() {
  13    return array(
  14      'display' => array(
  15        'panel_pane' => array(
  16          'title' => 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          'use ajax' => TRUE,
  23          'use pager' => TRUE,
  24          'use more' => TRUE,
  25          'accept attachments' => TRUE,
  26          'help topic' => 'display-pane',
  27          'admin' => t('Content pane'),
  28        ),
  29        'ctools_context' => array(
  30          'title' => t('Context'),
  31          'help' => t('Makes the view results available as a context for use in Panels and other applications.'),
  32          'handler' => 'views_content_plugin_display_ctools_context',
  33          'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
  34          'theme path' => drupal_get_path('module', 'views') . '/theme',
  35          'theme' => 'views_view',
  36          'use ajax' => FALSE,
  37          'use pager' => TRUE,
  38          'use more' => FALSE,
  39          'accept attachments' => TRUE,
  40          'returns context' => TRUE,
  41          'help topic' => 'display-context',
  42          'admin' => t('Context'),
  43        ),
  44      ),
  45      'style' => array(
  46        'ctools_context' => array(
  47          'title' => t('Context'),
  48          'help' => t('Contains rows in contexts.'),
  49          'handler' => 'views_content_plugin_style_ctools_context',
  50          'path' => drupal_get_path('module', 'views_content') . '/plugins/views',
  51          'theme path' => drupal_get_path('module', 'views') . '/theme',
  52          'theme' => 'views_view_unformatted',
  53          'uses row plugin' => TRUE,
  54          'uses fields' => TRUE,
  55          'uses options' => TRUE,
  56          'type' => 'context',
  57          'help topic' => 'style-context',
  58        ),
  59      ),
  60    );
  61  }


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7