function _webform_analysis_node in Webform Node Element 7
Same name and namespace in other branches
- 6 components/node.inc \_webform_analysis_node()
Implements _webform_analysis_component().
File
- components/
node.inc, line 171 - Webform module node component.
Code
function _webform_analysis_node($component, $sids = array()) {
$node = node_load($component['extra']['nid']);
return array(
array(
t('Nid'),
t('<a href="!link">@nid</a>', array(
'!link' => url('node/' . $node->nid),
'@nid' => $node->nid,
)),
),
array(
t('Title'),
check_plain($node->title),
),
array(
t('Type'),
$node->type,
),
array(
t('Display Mode'),
$component['extra']['view_mode'],
),
);
}