You are here

function video_module_invoke in Video 6.3

Same name and namespace in other branches
  1. 6.5 video.module \video_module_invoke()
  2. 6.4 video.module \video_module_invoke()

Invokes hook_v_video() in every module.

We cannot use module_invoke() for this, because the arguments need to be passed by reference.

1 call to video_module_invoke()
uploadfield_widget_process in types/uploadfield/uploadfield_widget.inc
Element #process callback function.

File

./video.module, line 69
video.module

Code

function video_module_invoke($type, &$array) {
  foreach (module_list() as $module) {
    $function = $module . '_v_video';
    if (function_exists($function)) {
      $function($type, $array);
    }
  }
}