You are here

function panels_stylizer_region_preview in Panels 8.3

Same name and namespace in other branches
  1. 6.3 panels.module \panels_stylizer_region_preview()
  2. 7.3 panels.module \panels_stylizer_region_preview()

Generate a preview given the current settings.

1 string reference to 'panels_stylizer_region_preview'
panels_ctools_style_base_types in ./panels.module
Declare what style types Panels uses.

File

./panels.module, line 240
panels.module

Code

function panels_stylizer_region_preview($plugin, $settings) {
  ctools_stylizer_add_css($plugin, $settings);
  return theme($plugin['theme'], array(
    'settings' => $settings,
    'class' => ctools_stylizer_get_css_class($plugin, $settings),
    'content' => panels_stylizer_lipsum(),
  ));
}