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.
Change record https://www.drupal.org/node/2224207 explains that hook_admin_paths() is removed and admin paths are now defined by a declaration in the routing.yml file.
This patch changes the tour example to use the new way of declaring admin paths.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2452929.patch | 897 bytes | TR |
Comments
Comment #1
TR CreditAttribution: TR commentedComment #3
TR CreditAttribution: TR commentedThe tests failed because of a problem in the cache example module, unrelated to my patch above. See #2452935: Fix failing cache_example tests for the cache example bug.
Comment #6
marvil07 CreditAttribution: marvil07 commentedThanks for the patch!