[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/panels/panels_ipe/includes/ -> panels_ipe.pipelines.inc (source)

   1  <?php
   2  
   3  /**
   4   * @file
   5   * Bulk export of panels_layouts objects generated by Bulk export module.
   6   */
   7  
   8  /**
   9   * Implementation of hook_default_panels_renderer_pipeline().
  10   */
  11  function panels_ipe_default_panels_renderer_pipeline() {
  12    $pipelines = array();
  13  
  14    $pipeline = new stdClass;
  15    $pipeline->disabled = FALSE; /* Edit this to true to make a default pipeline disabled initially */
  16    $pipeline->api_version = 1;
  17    $pipeline->name = 'ipe';
  18    $pipeline->admin_title = t('In-Place Editor');
  19    $pipeline->admin_description = t('Allows privileged users to update and rearrange the content while viewing this panel.');
  20    $pipeline->weight = 0;
  21    $pipeline->settings = array(
  22      'renderers' => array(
  23        0 => array(
  24          'access' => array(
  25            'plugins' => array(
  26              0 => array(
  27                'name' => 'perm',
  28                'settings' => array(
  29                  'perm' => 'use panels in place editing',
  30                ),
  31                'context' => 'logged-in-user',
  32              ),
  33            ),
  34            'logic' => 'and',
  35          ),
  36          'renderer' => 'ipe',
  37          'options' => array(),
  38        ),
  39      ),
  40    );
  41    $pipelines[$pipeline->name] = $pipeline;
  42  
  43    return $pipelines;
  44  }


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