Since Ban will be deprecated, would you please consider supporting Advanced ban as the replacement?

https://www.drupal.org/project/advban

On that page, it says:

Migrate from Core Ban
The Core Ban module will be deprecated in Drupal 11.3 and removed in Drupal 12.0 .

Blocked IP addresses will be automatically migrated from the IP Ban module during the installation of the Advban module.

Just replace these rows in your code for substitute Core Ban to Advanced Ban:

Drupal\ban\BanIpManagerInterface to Drupal\advban\AdvbanIpManagerInterface
ban.ip_manager to advban.ip_manager
drupal:ban to advban:advban

I am hoping this is easy to do.

Comments

duckydan created an issue. See original summary.

antonín slejška’s picture

Version: 1.2.0 » 1.x-dev
Assigned: Unassigned » antonín slejška

Hi Dan,
thank you for the information! The following message appears on the Ban module page:

Ban was a core module from Drupal 8 to 11 and has moved to contrib for Drupal 12.

I will definitely add the support for the Advanced Ban module. I will try to ensure a good integration with both modules.