You are here

public function InlineFormInterface::validateInlineForm in Commerce Core 8.2

Validates the inline form.

Parameters

array $inline_form: The inline form, containing the following basic properties:

  • #parents: Identifies the location of the field values in $form_state.

\Drupal\Core\Form\FormStateInterface $form_state: The form state of the complete form.

1 method overrides InlineFormInterface::validateInlineForm()
InlineFormBase::validateInlineForm in src/Plugin/Commerce/InlineForm/InlineFormBase.php
Validates the inline form.

File

src/Plugin/Commerce/InlineForm/InlineFormInterface.php, line 54

Class

InlineFormInterface
Defines the interface for inline forms.

Namespace

Drupal\commerce\Plugin\Commerce\InlineForm

Code

public function validateInlineForm(array &$inline_form, FormStateInterface $form_state);