You are here

function panels_stylizer_get_substyle in Panels 7.3

Same name and namespace in other branches
  1. 6.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

File

plugins/styles/stylizer.inc, line 63

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);
  }
}