You are here

function panels_context_create_empty in Panels 5.2

Same name and namespace in other branches
  1. 6.2 includes/plugins.inc \panels_context_create_empty()
10 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_term_context in arguments/term.inc
Discover if this argument gives us the term we crave.

... See full list

File

includes/plugins.inc, line 1097
plugins.inc

Code

function panels_context_create_empty($type, $conf = FALSE) {
  if ($function = panels_plugin_get_function('contexts', $type, 'context')) {
    return $function(TRUE, NULL, $conf);
  }
}