minimum.inc 588 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @file
  4. * Definition of the 'default' panel style.
  5. */
  6. // Plugin definition
  7. $plugin = array(
  8. 'title' => t('Minimum HTML'),
  9. 'description' => t('The default panel rendering style; without separator.'),
  10. 'render pane' => 'panels_minimum_style_render_pane',
  11. 'render region' => 'panels_minimum_style_render_region',
  12. );
  13. /**
  14. * Render callback.
  15. *
  16. * @ingroup themeable
  17. */
  18. function theme_panels_minimum_style_render_pane($vars) {
  19. return render($vars['content']->content);
  20. }
  21. function theme_panels_minimum_style_render_region($vars) {
  22. return implode($vars['panes']);
  23. }