function video_params_v_get_params in Video 6.2
Same name and namespace in other branches
- 5 plugins/video_params/video_params.module \video_params_v_get_params()
- 6 plugins/video_params/video_params.module \video_params_v_get_params()
Implementation of hook_v_get_param() - video module specific hook
File
- plugins/
video_params/ video_params.module, line 90 - Enable addition of params to object generated by video module
Code
function video_params_v_get_params(&$node) {
$serial_data = $node->serial_data;
if (is_array($serial_data) && array_key_exists('object_parameters', $serial_data) && !empty($serial_data['object_parameters'])) {
return $serial_data['object_parameters'];
}
else {
return NULL;
}
}