function node_kaltura_entry_view in Kaltura 6
Same name and namespace in other branches
- 5 plugins/node_kaltura_entry/node_kaltura_entry.module \node_kaltura_entry_view()
- 6.2 plugins/node_kaltura_entry/node_kaltura_entry.module \node_kaltura_entry_view()
Implementation of hook_view().
File
- plugins/
node_kaltura_entry/ node_kaltura_entry.module, line 539
Code
function node_kaltura_entry_view($node, $teaser = FALSE, $page = FALSE) {
$node = node_prepare($node, $teaser);
$node->content['kaltura_tags'] = array(
'#value' => theme('node_kaltura_entry_tags', $node),
'#weight' => 1,
);
$node->content['kaltura_admin_tags'] = array(
'#value' => theme('node_kaltura_entry_admin_tags', $node),
'#weight' => 6,
);
if ($node->kaltura_entryId) {
$node->content['kaltura_entry'] = array(
'#value' => theme('node_kaltura_entry_entryId', $node, $teaser),
'#weight' => 7,
);
}
$node->content['kaltura_thumbnail_url'] = array(
'#value' => theme('node_kaltura_entry_thumbnail_url', $node, $teaser),
'#weight' => 0,
);
return $node;
}