Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Once upon a time RouteBuilderStatic
was used to stop firing any kind of routing events inside update.php, for upgrading from d7 to d8.
Given that we replaced that with migrate we simply don't need this class anymore: #2001310: Disallow firing hooks during update
Proposed resolution
Remove it.
Remaining tasks
User interface changes
API changes
Beta phase evaluation
Issue category | Task, there is no bug. |
---|---|
Issue priority | Normal, because it removes maintenance overhead |
Disruption | No disruption |
Comment | File | Size | Author |
---|---|---|---|
#1 | drop_the_unused_class-2442173-1.patch | 1.19 KB | mpdonadio |
Comments
Comment #1
mpdonadioPhpStorm found no usages of RouteBuilderStatic in code, and no instances RouteBuilderStatic in any strings, comments, etc, outside of the file itself.
Comment #2
dawehnerSo it did for me. Looks perfect
Comment #3
dawehner.
Comment #4
alexpottRemoving completely unused and untested code is permitted during beta. Committed 0aa2a08 and pushed to 8.0.x. Thanks!