You are here

function commerce_file_field_widget_settings_form in Commerce File 7

Implements hook_field_widget_settings_form().

File

includes/commerce_file.field.inc, line 377
Implement an commerce_file field, based on the file module's file field.

Code

function commerce_file_field_widget_settings_form($field, $instance) {
  $widget = $instance['widget'];
  $settings = $widget['settings'];

  // Use the file widget settings form.
  $form = file_field_widget_settings_form($field, $instance);
  return $form;
}