public function CommerceLicenseInterface::form in Commerce License 7
Provides the license form.
Parameters
$form: The license form. Might be embedded in another form through Inline Entity Form.
$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::form()
- CommerceLicenseBase::form in includes/
plugins/ license_type/ base.inc - Implements CommerceLicenseInterface::form().
File
- includes/
plugins/ license_type/ base.inc, line 62 - Abstract and interface plugin implementation.
Class
- CommerceLicenseInterface
- Ensures basic required behavior for a license.
Code
public function form(&$form, &$form_state);