Problem/Motivation
Need to drop support for Drupal 9.5 in the next major version.
Proposed resolution
I suggest introducing branch 3.x, which will support Drupal >= 10. And keep 2.x with Drupal 9.5 support for bug fix only.
Additionally:
In case version 9.5 support is removed, then there is no need for '#default_value'; instead, use '#config_target'. Simplifies the form; there is no need for implementing submitForm; that would be handled in the base class.
Issue fork friendship-3572257
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
Comment #4
nickolajDropped Drupal 9.5 from core_version_requirement and replaced `#default_value` with `#config_target` in FriendshipSettingsForm, removing the now-unnecessary custom `submitForm()` override.
Comment #5
vitaliyb98 commentedHi @nickolaj, thanks for your works
Merged into 3.x