function panels_context_create_empty in Panels 6.2
Same name and namespace in other branches
- 5.2 includes/plugins.inc \panels_context_create_empty()
11 calls to panels_context_create_empty()
- panels_book_parent_context in relationships/
book_parent.inc - Return a new context based on an existing context
- panels_nid_context in arguments/
nid.inc - Discover if this argument gives us the node we crave.
- panels_node_add_context in arguments/
node_add.inc - Discover if this argument gives us the node we crave.
- panels_node_edit_context in arguments/
node_edit.inc - Discover if this argument gives us the node we crave.
- panels_panel_node_view_get_context in plugins/
task_handlers/ panel_node_view.inc - Get empty contexts for use with the delegator panels pages.
File
- includes/
plugins.inc, line 1106 - plugins.inc
Code
function panels_context_create_empty($type) {
if ($function = panels_plugin_get_function('contexts', $type, 'context')) {
return $function(TRUE);
}
}