You are here

function uc_object_attributes_form_reset in Ubercart 6.2

Reset product attributes to defaults for product class.

See also

uc_object_attributes_form_reset()

1 string reference to 'uc_object_attributes_form_reset'
uc_object_attributes_form in uc_attribute/uc_attribute.admin.inc
Form to associate attributes with products or classes.

File

uc_attribute/uc_attribute.admin.inc, line 929
Attribute administration menu items.

Code

function uc_object_attributes_form_reset($form, &$form_state) {
  $form_state['redirect'] = array(
    'node/' . $form_state['values']['id'] . '/edit/attributes/reset',
  );
}