Install

Works with Drupal: ^10 || ^11 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 22.01 KB
MD5: aeb57c2d6aef010af2c9e3b3aba7a1bb
SHA-1: 9d6f24116e4944e7f0db38ddf42ff2ae2f176ff8
SHA-256: 8ff14e4031d9a53e04a9ca38e374246c47cc536f34b3e4c463067077813d90f0
Download zip 32.99 KB
MD5: 94edc52ec3a89cb932ff57144096e39c
SHA-1: 451dcf12284e1df1ab8306c3741c7ad9b35364d9
SHA-256: ffc35599ca723a82ad2a77883b42405d6310f8eee2889dda3734194651fd13cb

Release notes

Summary

This patch release fixes a critical bug introduced in 2.1.0 that prevented Drush from functioning on sites where the module was present but not yet enabled.

Bug Fixes

  • Fixed a fatal error (Class "field_longtext_pager.ajax_pager" does not exist in EntityResolverManager.php) caused by defining the AJAX controller as a service ID in the routing YAML. Drupal's routing system scans all module routing files regardless of their enabled status. Because the service container isn't built for disabled modules, this crashed the entire routing discovery phase.
  • Reverted the AJAX route to use the standard static class path (\Drupal\field_longtext_pager\Page\AjaxPager::getSubpage). The controller still fully utilizes Dependency Injection via its create() method, but this prevents it from breaking Drush before the module is enabled.
Created by: dangreenman
Created on: 27 Jun 2026 at 00:00 UTC
Last updated: 27 Jun 2026 at 00:00 UTC
Bug fixes

Other releases