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
\Drupal\simpletest\ContentTypeCreationTrait::createContentType()
rebuilds the router, but that is not (no longer?) necessary
Proposed resolution
Remove the router rebuild.
Remaining tasks
Review patch.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
test-create-content-type-router-rebuild.patch | 728 bytes | tstoeckler | |
Comments
Comment #2
dawehnerI cannot think of a good reason for that either
Comment #3
alexpottNeedless router rebuilds in the test infra might hide bugs so I've committed this to 8.1.x too. Committed 93d28a0 and pushed to 8.1.x and 8.2.x. Thanks!