You are here

function media_field_widget_error in D7 Media 7

Implements_hook_field_widget_error().

File

includes/media.fields.inc, line 346
: Provides a "Multimedia asset" field to the fields API

Code

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