Problem/Motivation

I want to be able to override FormProcessorWebformHandler::getConnection() in order to always return a specific connection on our staging/testing environments, to make sure no production connections are accidentally used.

Proposed resolution

To make this easier, the connection config option should always be accessed through the getConnection() method. And while we're at it, let's do the same for the form_processor option.

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

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Status: Active » Needs review
dieterholvoet’s picture

Status: Needs review » Needs work

This isn't enough. Would also need to override the WebformSubmissionHandler, DefaultDataHandler, ValidationHandler, CalculationHandler classes.

dieterholvoet’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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