Problem/Motivation

Currently, registration settings entity validation is done in form validation handlers, and is thus duplicated in the core Registration module and the Registration Inline Entity Form submodule, and any custom forms provided by custom modules. Moving to a constraint will allow the validation to be centralized in a single function.

Proposed resolution

Move the validation to a constraint and delete the form validation functions.

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

john.oltman created an issue. See original summary.

  • john.oltman committed 22ec96f8 on 3.0.x
    Issue #3407624: Move registration settings validation to a constraint
    

john.oltman changed the visibility of the branch 3407624-add-assertion to hidden.

john.oltman changed the visibility of the branch 3407624-add-assertion to active.

john.oltman’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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