function layout_responsive_get_sublayout in Layout 7
Callback to provide a single stored responsive layout.
1 string reference to 'layout_responsive_get_sublayout'
- responsive.inc in plugins/
layouts/ responsive.inc
File
- plugins/
layouts/ responsive.inc, line 114
Code
function layout_responsive_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 layout_responsive_merge_plugin($plugin, $item);
}
}