|
|
Drupal example source code file (default.inc)
The default.inc Drupal example source code<?php /** * @file * Definition of the 'default' panel style. */ // Plugin definition $plugin = array( 'title' => t('No style'), 'description' => t('The default panel rendering style; displays each pane with a separator.'), 'render region' => 'panels_default_style_render_region', ); /** * Render callback. * * @ingroup themeable */ function theme_panels_default_style_render_region($vars) { $output = ''; // $output .= '<div class="region region-' . $vars['region_id'] . '">'; $output .= implode('<div class="panel-separator"></div>', $vars['panes']); // $output .= '</div>'; return $output; } Other Drupal examples (source code examples)Here is a short list of links related to this Drupal default.inc source code file: |
"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.