popsu-d7/sites/all/modules/ctools/help/context-relationships.html
Bachir Soussi Chiadmi 1bc61b12ad first import
2015-04-08 11:40:19 +02:00

14 lines
559 B
HTML

<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>