You are here

function commerce_license_role_settings_form_submit in Commerce License 7

Submit callback of the file settings form.

1 string reference to 'commerce_license_role_settings_form_submit'
commerce_license_role_settings_form in modules/commerce_license_role/includes/commerce_license_role.admin.inc
Settings form callback.

File

modules/commerce_license_role/includes/commerce_license_role.admin.inc, line 50
Contains admin menu callbacks for the Commerce File module.

Code

function commerce_license_role_settings_form_submit($form, &$form_state) {

  // This will create the commerce_license_role field on any newly selected product
  // types, and remove it from any newly deselected product types.
  commerce_license_role_flush_caches();
}