You are here

public function InlineFormBase::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.

Overrides InlineFormInterface::validateInlineForm

5 calls to InlineFormBase::validateInlineForm()
ContentEntity::validateInlineForm in src/Plugin/Commerce/InlineForm/ContentEntity.php
Validates the inline form.
CouponRedemption::validateInlineForm in modules/promotion/src/Plugin/Commerce/InlineForm/CouponRedemption.php
Validates the inline form.
CustomerProfile::validateInlineForm in modules/order/src/Plugin/Commerce/InlineForm/CustomerProfile.php
Validates the inline form.
PaymentGatewayForm::validateInlineForm in modules/payment/src/Plugin/Commerce/InlineForm/PaymentGatewayForm.php
Validates the inline form.
PluginConfiguration::validateInlineForm in src/Plugin/Commerce/InlineForm/PluginConfiguration.php
Validates the inline form.
5 methods override InlineFormBase::validateInlineForm()
ContentEntity::validateInlineForm in src/Plugin/Commerce/InlineForm/ContentEntity.php
Validates the inline form.
CouponRedemption::validateInlineForm in modules/promotion/src/Plugin/Commerce/InlineForm/CouponRedemption.php
Validates the inline form.
CustomerProfile::validateInlineForm in modules/order/src/Plugin/Commerce/InlineForm/CustomerProfile.php
Validates the inline form.
PaymentGatewayForm::validateInlineForm in modules/payment/src/Plugin/Commerce/InlineForm/PaymentGatewayForm.php
Validates the inline form.
PluginConfiguration::validateInlineForm in src/Plugin/Commerce/InlineForm/PluginConfiguration.php
Validates the inline form.

File

src/Plugin/Commerce/InlineForm/InlineFormBase.php, line 126

Class

InlineFormBase
Provides the base class for inline forms.

Namespace

Drupal\commerce\Plugin\Commerce\InlineForm

Code

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