[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

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


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7