function mediafront_invoke_node in MediaFront 7
Same name and namespace in other branches
- 6.2 mediafront.module \mediafront_invoke_node()
- 6 mediafront.module \mediafront_invoke_node()
Invoke a hook_playlist_node() operation in all modules.
Parameters
$node: A list of all nodes in the playlist.
$args: An array of arguments used for this node.
3 calls to mediafront_invoke_node()
- mediafront_get_node in ./
mediafront.module - Gets a node in the player format.
- mediafront_views_pre_render in ./
mediafront.module - Views pre-render
- theme_mediafront_player in ./
mediafront.module - Implement the theme for the media player.
File
- ./
mediafront.module, line 431
Code
function mediafront_invoke_node($node, $args) {
$additions = array();
if ($node) {
foreach (module_implements('playlist_node') as $name) {
$function = $name . '_playlist_node';
$additions = mediafront_playlist_node_merge($additions, $function($node, $args));
}
}
return $additions;
}