Problem/Motivation

The early installer (before the database exists) no longer invokes form alter hooks in the profile. This ability was a casualty of the OO-based hook system. Honestly, it probably only ever worked by coincidence anyway.

So the way to alter an early installer form now is to decorate it. That works, and Drupal CMS is using it, but it involves a pile of boilerplate. Recipe Installer Kit could add a base class to handle the boilerplate.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

phenaproxima created an issue. See original summary.

  • phenaproxima committed ed5aef99 on 1.x
    feat: #3569331 Add a base class for doing form alters in the early...
phenaproxima’s picture

Status: Active » Fixed

Merged into 1.x.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.