You are here

function video_field_widget_error in Video 7.2

Implements hook_field_widget_error().

Work-around for Drupal bug http://drupal.org/node/1432732

File

./video.field.inc, line 422
Implement a video field, based on the file module's file field.

Code

function video_field_widget_error($element, $error, $form, &$form_state) {
  form_error($element, $error['message']);
}