You are here

naked.inc in Panels 6.3

Same filename and directory in other branches
  1. 7.3 plugins/styles/naked.inc

Definition of the 'naked' panel style.

File

plugins/styles/naked.inc
View source
<?php

/**
 * @file
 * Definition of the 'naked' panel style.
 */

// Plugin definition
$plugin = array(
  'title' => t('No markup at all'),
  'description' => t('Display the pane with no markup, not even a title.'),
  'render pane' => 'panels_naked_style_render_pane',
  'weight' => -5,
);

/**
 * Render callback.
 *
 * @ingroup themeable
 */
function theme_panels_naked_style_render_pane($content, $pane, $display) {
  return $content->content;
}

Functions

Namesort descending Description
theme_panels_naked_style_render_pane Render callback.