Problem/Motivation
Every time we generate permissions for filter module, we generate links. This adds approximately 500ms to every Drupal standard install installation because it immediately rebuilds the router.
Steps to reproduce
Proposed resolution
Remove the links.
If there's a way to use Markup / stringable in the arguments to t() that might be another option - the problem isn't the links as such but generating them to build the markup object, which causes the lazy installer router to be rebuilt.
Haven't fully verified this yet but it's probably happening in tests too, so tagging
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3619751
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:
- 3619751-remove-links-from
changes, plain diff MR !16894
Comments
Comment #2
catchComment #4
smustgrave commentedSeems straight forward enough.
Comment #5
longwaveFilterDefaultConfigTest has this comment which needs updating now (and probably some support code can be removed from the test)
Comment #6
catchGood spot - we can remove that comment and the line immediately following it. Test still needs user module installed because it does things with roles.
Comment #8
longwaveCommitted and pushed 12b38bdacee to main. Thanks!
As this is primarily for test performance I didn't bother with a backport.