Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Form Factory

No security coverage Under active development 3 sites

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();
}

Ask your assistant about Form Factory

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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

Tracked releases
3
Tracked since
Feb 2023
Latest release
10 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.1.0-beta1 Pre-release 9–11 Dec 13, 2025
2.0.0-beta3 Pre-release 9–11 Nov 22, 2025
2.0.0-beta2 Pre-release 9–10 Feb 24, 2023