You are here

oa_layouts.pipelines.inc in Open Atrium Core 7.2

File

modules/oa_layouts/oa_layouts.pipelines.inc
View source
<?php

/**
 * @file
 * oa_layouts.pipelines.inc
 */

/**
 * Implements hook_default_panels_renderer_pipeline().
 */
function oa_layouts_default_panels_renderer_pipeline() {
  $export = array();
  $pipeline = new stdClass();
  $pipeline->disabled = FALSE;

  /* Edit this to true to make a default pipeline disabled initially */
  $pipeline->api_version = 1;
  $pipeline->name = 'ipe_node_access';
  $pipeline->admin_title = 'In-Place Editor (node access) DEPRECATED';
  $pipeline->admin_description = 'DEPRECATED: Use normal In-Place-Editor pipeline';
  $pipeline->weight = 0;
  $pipeline->settings = array(
    'renderers' => array(
      0 => array(
        'access' => array(
          'plugins' => array(
            0 => array(
              'name' => 'perm',
              'settings' => array(
                'perm' => 'use panels in place editing',
              ),
              'context' => 'logged-in-user',
            ),
          ),
          'logic' => 'and',
        ),
        'renderer' => 'ipe',
        'options' => array(),
      ),
    ),
  );
  $export['ipe_node_access'] = $pipeline;
  return $export;
}

Functions

Namesort descending Description
oa_layouts_default_panels_renderer_pipeline Implements hook_default_panels_renderer_pipeline().