interface FormAlterInterface in Commerce License 8.2
Hierarchy
- interface \Drupal\commerce_license\FormAlter\FormAlterInterface
Expanded class hierarchy of FormAlterInterface
All classes that implement FormAlterInterface
File
- src/
FormAlter/ FormAlterInterface.php, line 7
Namespace
Drupal\commerce_license\FormAlterView source
interface FormAlterInterface {
/**
* Alters the form.
*
* @param array $form
* Nested array of form elements that comprises the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
* @param string $form_id
* String representing the name of the form itself. Typically this is the
* name of the function that generated the form.
*/
public function alterForm(array &$form, FormStateInterface $form_state, $form_id = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FormAlterInterface:: |
public | function | Alters the form. | 1 |