public function CustomerProfileAlterInterface::alter in Drupal Commerce Connector for AvaTax 8
Alters the inline form to add address validation logic.
Parameters
array $inline_form: The inline form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
1 method overrides CustomerProfileAlterInterface::alter()
- CustomerProfileAlter::alter in src/
CustomerProfileAlter.php - Alters the inline form to add address validation logic.
File
- src/
CustomerProfileAlterInterface.php, line 33
Class
- CustomerProfileAlterInterface
- Interface for altering the customer profile inline form.
Namespace
Drupal\commerce_avataxCode
public function alter(array &$inline_form, FormStateInterface $form_state);