Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
9.86 KB
MD5: 13e697f3ad63c749cb2065b80db28177
SHA-1: e79fd4b0fb635380890f3ce4cd13f5ac190df697
SHA-256: 82e1d703fa335c1b9febd97065251207385aa276297bffcfdb4e5d4488ab870a
Download zip
13.79 KB
MD5: 5fc5a2413952af720b9931cfc9091a0a
SHA-1: 46bc76ae3840c9d766e2ca4a9dfb9d6a86b68c3b
SHA-256: fcbb763499d570a41c7bac61132246d8f7cd2c72f3132c13c1432a15ff26327f
Release notes
This release refactors the module to use Drupal 11's object-oriented hook system, replacing all procedural hook implementations in the .module file.
Hook implementations are now handled by a dedicated LoginAttemptsHooks class using #[Hook] attributes. Business logic has been extracted into a LoginAttemptsManager service with proper dependency injection, making the code more maintainable and testable.
The .module file has been removed as it is no longer needed.