You are here

function mediafront_get_node in MediaFront 7

Same name and namespace in other branches
  1. 6.2 mediafront.module \mediafront_get_node()
  2. 6 mediafront.module \mediafront_get_node()
  3. 7.2 mediafront.module \mediafront_get_node()

Gets a node in the player format.

3 calls to mediafront_get_node()
mediafront_get_node_json in ./mediafront.module
Gets a node in JSON format
mediafront_get_playlist_from_view in ./mediafront.module
Returns a playlist provided a view.
minplayer_get_sources in players/minplayer/minplayer.module
Return the media source.
1 string reference to 'mediafront_get_node'
mediafront_service in ./mediafront.module
Implements hook_service()

File

./mediafront.module, line 382

Code

function mediafront_get_node($nid, $args = null) {
  return mediafront_invoke_node(node_load($nid), $args);
}