public function CommerceLicenseInterface::formSubmit in Commerce License 7
Submits the license form.
Parameters
$form: The license form. Might be embedded in another form through Inline Entity Form, so form['#parents'] needs to be taken into account when fetching values and setting errors.
$form_state: The form state of the complete form. Always use drupal_array_get_nested_value() instead of accessing $form_state['values'] directly.
1 method overrides CommerceLicenseInterface::formSubmit()
- CommerceLicenseBase::formSubmit in includes/
plugins/ license_type/ base.inc - Implements CommerceLicenseInterface::formSubmit().
File
- includes/
plugins/ license_type/ base.inc, line 90 - Abstract and interface plugin implementation.
Class
- CommerceLicenseInterface
- Ensures basic required behavior for a license.
Code
public function formSubmit(&$form, $form_state);