Projet

Général

Profil

Paste
Télécharger (661 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / ctools / help / context-context.html @ 1e39edcb

1
<p>Context plugin data:</p>
2

    
3
<pre>
4
    'title' => Visible title
5
    'description' => Description of context
6
    'context' => Callback to create a context. Params: $empty, $data = NULL, $conf = FALSE
7
    'settings form' => Callback to show a context setting form. Params: ($conf, $external = FALSE)
8
    'settings form validate' => params: ($form, &$form_values, &$form_state)
9
    'settings form submit' => params: 'ctools_context_node_settings_form_submit',
10
    'keyword' => The default keyword to use.
11
    'context name' => The unique identifier for this context for use by required context checks.
12
    'no ui' => if TRUE this context cannot be selected.
13
</pre>