function panels_stylizer_get_substyle in Panels 6.3
Same name and namespace in other branches
- 7.3 plugins/styles/stylizer.inc \panels_stylizer_get_substyle()
Callback to provide a single stored stylizer style.
1 string reference to 'panels_stylizer_get_substyle'
- stylizer.inc in plugins/
styles/ stylizer.inc - Definition of the 'stylizer' panel style.
File
- plugins/
styles/ stylizer.inc, line 61 - Definition of the 'stylizer' panel style.
Code
function panels_stylizer_get_substyle($plugin, $style_name, $substyle_name) {
// Do not worry about caching; Panels is handling that for us.
ctools_include('export');
$item = ctools_export_crud_load('stylizer', $substyle_name);
if ($item) {
return panels_stylizer_merge_plugin($plugin, $item);
}
}