Routing system in Drupal 8

lhuria94
Ashok Negi

Routing system in Drupal 8 replaces the routing parts of hook_menu() of Drupal 7. Drupal 8's routing system is heavily based on Symfony. Drupal's routing system can do everything Symfony's can (and more), and both use the same syntax to define routes.

In our session we will be talking about how routing system works in Drupal 8. This will include how routes are created, explaining structure of routes, how controllers are determined internally etc.

Here're the objective of the session:

  • Understanding how Drupal 8 Routing System functions
  • How routes are created / Structure of routes
  • Understanding how the controller is determined based on the request internally
  • Access checking on routes
  • Providing dynamic routes

Who should be attending this session:

  • Anyone willing to know routing system in Drupal 8
  • Attendees will have a detailed knowledge of how Drupal 8 routing system works and little bit of Symfony as well

 

Session Track

Symfony

Experience Level

Intermediate

Drupal Version