summaryrefslogtreecommitdiff
path: root/sites/all/modules/ctools/help/context-context.html
diff options
context:
space:
mode:
Diffstat (limited to 'sites/all/modules/ctools/help/context-context.html')
-rw-r--r--sites/all/modules/ctools/help/context-context.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/sites/all/modules/ctools/help/context-context.html b/sites/all/modules/ctools/help/context-context.html
new file mode 100644
index 000000000..2314bd5ff
--- /dev/null
+++ b/sites/all/modules/ctools/help/context-context.html
@@ -0,0 +1,13 @@
+<p>Context plugin data:</p>
+
+<pre>
+ 'title' => Visible title
+ 'description' => Description of context
+ 'context' => Callback to create a context. Params: $empty, $data = NULL, $conf = FALSE
+ 'settings form' => Callback to show a context setting form. Params: ($conf, $external = FALSE)
+ 'settings form validate' => params: ($form, &$form_values, &$form_state)
+ 'settings form submit' => params: 'ctools_context_node_settings_form_submit',
+ 'keyword' => The default keyword to use.
+ 'context name' => The unique identifier for this context for use by required context checks.
+ 'no ui' => if TRUE this context cannot be selected.
+</pre> \ No newline at end of file