function nodereference_node_from_noderef_ctools_relationships in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 6.3 modules/nodereference/panels/relationships/node_from_noderef.inc \nodereference_node_from_noderef_ctools_relationships()
Implementation of hook_ctools_relationships().
File
- modules/
nodereference/ panels/ relationships/ node_from_noderef.inc, line 11 - Implements the node reference relationship for Panels.
Code
function nodereference_node_from_noderef_ctools_relationships() {
return array(
'title' => t('Node from reference'),
'keyword' => 'nodereference',
'description' => t('Adds a node from a node reference in a node context; if multiple nodes are referenced, this will get the first referenced node only.'),
'required context' => new ctools_context_required(t('Node'), 'node'),
'context' => 'nodereference_node_from_noderef_context',
'settings form' => 'nodereference_node_from_noderef_settings_form',
'settings form validate' => 'nodereference_node_from_noderef_settings_form_validate',
);
}