You are here

function panels_flexible_get_sublayout in Panels 6.3

Same name and namespace in other branches
  1. 7.3 plugins/layouts/flexible/flexible.inc \panels_flexible_get_sublayout()

Callback to provide a single stored flexible layout.

1 string reference to 'panels_flexible_get_sublayout'
flexible.inc in plugins/layouts/flexible/flexible.inc

File

plugins/layouts/flexible/flexible.inc, line 58

Code

function panels_flexible_get_sublayout($plugin, $layout_name, $sublayout_name) {

  // Do not worry about caching; Panels is handling that for us.
  ctools_include('export');
  $item = ctools_export_crud_load('panels_layout', $sublayout_name);
  if ($item) {
    return panels_flexible_merge_plugin($plugin, $item);
  }
}