Let’s take the best route - Exploring Drupal 8 Routing System
summary
Shows how Drupal 8 replaces Drupal 7 hook_menu/menu_router with Symfony’s HTTP Kernel and YAML .routing.yml files mapping to controllers, including a working demo of a controller returning HTML. Explains access control via permissions and roles, demonstrates dynamic routes with parameter patterns and entity parameter conversion (automatic user object loading), and covers execution precedence and caching with concrete commands for drush route:rebuild / drupal router:rebuild. Includes code repository for hands‑on exploration.
AI-written summary · about
chapters (6)
- 0:00Introduction and context
- 2:52Routing fundamentals
- 5:35Legacy routing mechanisms
- 8:01Drupal 8 routing transition
- 11:18Advanced route structures
- 14:40Summary and conclusion
related talks
42mDrupal8 for Symfony developers
42mDrupal8 for Symfony developers
43mDrupal8 for Symfony Developers
41mWhat’s New in Drupal 8?
01h 01mDeep dive into Symfony 4 internals
43mControllers: Beyond HTTP and Symfony
40mDeep dive into Symfony 4 internals
56mThe absolute beginner's guide to Domain Driven Design with Symfony
