public function InlineFormInterface::buildInlineForm in Commerce Core 8.2
Builds 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.
Return value
array The built inline form.
1 method overrides InlineFormInterface::buildInlineForm()
- InlineFormBase::buildInlineForm in src/
Plugin/ Commerce/ InlineForm/ InlineFormBase.php - Builds the inline form.
File
- src/
Plugin/ Commerce/ InlineForm/ InlineFormInterface.php, line 43
Class
- InlineFormInterface
- Defines the interface for inline forms.
Namespace
Drupal\commerce\Plugin\Commerce\InlineFormCode
public function buildInlineForm(array $inline_form, FormStateInterface $form_state);