view sites/all/modules/ctools/help/context-context.html @ 0:ff03f76ab3fe

initial version
author danieleb <danielebarchiesi@me.com>
date Wed, 21 Aug 2013 18:51:11 +0100
parents
children
line wrap: on
line source
<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>