You are here

function kaltura_playlist_view in Kaltura 5

Same name and namespace in other branches
  1. 6.2 plugins/kaltura_playlist/kaltura_playlist.module \kaltura_playlist_view()
  2. 6 plugins/kaltura_playlist/kaltura_playlist.module \kaltura_playlist_view()

Implementation of hook_view().

File

plugins/kaltura_playlist/kaltura_playlist.module, line 216

Code

function kaltura_playlist_view($node, $teaser = FALSE, $page = FALSE) {
  $node = node_prepare($node, $teaser);
  $node->content['playlist_view'] = array(
    '#value' => theme('kaltura_playlist_view', $node),
    '#weight' => 0,
  );
  return $node;
}