summaryrefslogtreecommitdiff
path: root/sites/all/modules/ctools/help/context-relationships.html
diff options
context:
space:
mode:
Diffstat (limited to 'sites/all/modules/ctools/help/context-relationships.html')
-rw-r--r--sites/all/modules/ctools/help/context-relationships.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/sites/all/modules/ctools/help/context-relationships.html b/sites/all/modules/ctools/help/context-relationships.html
new file mode 100644
index 000000000..cc9969e1f
--- /dev/null
+++ b/sites/all/modules/ctools/help/context-relationships.html
@@ -0,0 +1,13 @@
+<p>Relationship plugin data:</p>
+
+<pre>
+ 'title' => The title to display.
+ 'description' => Description to display.
+ 'keyword' => Default keyword for the context created by this relationship.
+ 'required context' => One or more ctools_context_required/optional objects
+ describing the context input.
+ new panels_required_context(t('Node'), 'node'),
+ 'context' => The callback to create the context. Params: ($context = NULL, $conf)
+ 'settings form' => Settings form. Params: $conf
+ 'settings form validate' => Validate.
+</pre>