Route and controller

The first real piece of functionality we set out to create was a simple Drupal 8 page that outputs the age-old Hello World string. For doing this, we will need two things--a route and a controller. So, let's start with the first one.

Get Drupal 8 Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.