public function MultipleEntityFormState::__construct in Flexiform 8
MultipleEntityFormState constructor.
Parameters
array $subform:
\Drupal\Core\Form\FormStateInterface $form_state:
File
- src/
MultipleEntityFormState.php, line 39
Class
Namespace
Drupal\flexiformCode
public function __construct(array &$subform, FormStateInterface $form_state) {
$this->decoratedFormState = $form_state;
$this->subform = $subform;
$this->parents = isset($subform['#parents']) ? $subform['#parents'] : [];
}