Problem/Motivation

When using this module we sometimes need a more complex form that the one provided so we build a custom form but we would still like to reuse the subscribe logic.
Moving subscribe() to a service would make it easier to reuse and reduce code duplication.

Steps to reproduce

Move SignUpForm::subscribe() to a new service.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review

I used some PHP 8 features so I removed Drupal 9 from core_version_requirement, I hope it's OK.

Removing protected methods is OK according to Drupal BC policy: https://www.drupal.org/about/core/policies/core-change-policies/bc-polic...

gaëlg’s picture

Status: Needs review » Fixed

Thanks!

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.