Form Factory
2 sites
No security coverage
This module acts as a framework for form building kits. It allows you to load an existing form, add pre-defined form elements like text fields and submit buttons, and then return the modified form.
This module serves as the superstructure for formfactorykits module.
It provides a simple service which can load an existing $form array, append FormFactoryKit objects & return a modified $form array.
public function buildForm(array $form, FormStateInterface $form_state) {
$factory = $this->formFactoryService->load($form);
$k = $this->formFactoryKitsService;
$factory->append($k->text())
->append($k->submit());
return $factory->getForm();
}
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.1.0-beta1 | Pre-release | 9–11 | Dec 13, 2025 | ||
| 2.0.0-beta3 | Pre-release | 9–11 | Nov 22, 2025 |