home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (panels.pipelines.inc)

This example Drupal source code file (panels.pipelines.inc) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

access, array, common, function, initially, option, php, pipeline, pipelines, renderers, standard, this, to, true

The panels.pipelines.inc Drupal example source code

<?php
// $Id: panels.pipelines.inc,v 1.1.2.1 2010/07/06 23:59:00 merlinofchaos Exp $

/**
 * @file
 * Bulk export of panels_layouts objects generated by Bulk export module.
 */

/**
 * Implementation of hook_default_panels_layout()
 */
function panels_default_panels_renderer_pipeline() {
  $pipelines = array();

  $pipeline = new stdClass;
  $pipeline->disabled = FALSE; /* Edit this to true to make a default pipeline disabled initially */
  $pipeline->api_version = 1;
  $pipeline->name = 'standard';
  $pipeline->admin_title = t('Standard');
  $pipeline->admin_description = t('Renders a panel normally. This is the most common option.');
  $pipeline->weight = -100;
  $pipeline->settings = array(
    'renderers' => array(
      0 => array(
        'access' => array(),
        'renderer' => 'standard',
        'options' => array(),
      ),
    ),
  );
  $pipelines[$pipeline->name] = $pipeline;

  return $pipelines;
}

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal panels.pipelines.inc source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.