You are here

public static function MultipleEntityFormState::createForForm in Flexiform 8

Parameters

array $form:

\Drupal\Core\Form\FormStateInterface $form_state:

Return value

mixed

9 calls to MultipleEntityFormState::createForForm()
FlexiformEntityFormDisplay::decorateFormState in src/FlexiformEntityFormDisplay.php
Decorate the form state when required.
FlexiformEntityFormDisplayEditForm::copyFormValuesToEntity in src/Form/FlexiformEntityFormDisplayEditForm.php
Copies top-level form values to entity properties
FlexiformEntityFormDisplayEditForm::form in src/Form/FlexiformEntityFormDisplayEditForm.php
Gets the actual form array to be built.
FormComponentTypeBase::getFormEntityManager in src/FormComponent/FormComponentTypeBase.php
Get the form entity manager.
FormEntityAddForm::buildForm in src/Form/FormEntityAddForm.php
Form constructor.

... See full list

File

src/MultipleEntityFormState.php, line 51

Class

MultipleEntityFormState

Namespace

Drupal\flexiform

Code

public static function createForForm(array &$form, FormStateInterface $form_state) {
  return new static($form, $form_state);
}