function panels_node_edit_layout in Panels 6.3
Same name and namespace in other branches
- 5.2 panels_node/panels_node.module \panels_node_edit_layout()
- 6.2 panels_node/panels_node.module \panels_node_edit_layout()
- 7.3 panels_node/panels_node.module \panels_node_edit_layout()
Pass through to the panels layout editor.
1 string reference to 'panels_node_edit_layout'
- panels_node_menu in panels_node/
panels_node.module - Implementation of hook_menu().
File
- panels_node/
panels_node.module, line 344 - panels_node.module
Code
function panels_node_edit_layout($node) {
// ctools_include('plugins', 'panels');
ctools_include('context');
$display = panels_load_display($node->panels_node['did']);
$display->context = panels_node_get_context($node);
return panels_edit_layout($display, t('Save'), "node/{$node->nid}/panel_layout", 'panels_node');
}