-
Book Overview & Buying
-
Table Of Contents
Drupal 8 Module Development
By :
Now that we have covered some of the introductory aspects of Drupal 8 module development, it’s time to dive right into the meat of what we are doing here--module creation.
Here are some of the important topics that we will cover in this chapter:
Concretely, in this chapter, we will create a new custom module called Hello World. In this module, we will define a route that maps to a Controller and that outputs the age-old programming message. So, this will be our first win.
Next, we will define a service that our Controller will use to pimp up our message. After all, we don't want the same message presented to the user all day long. This simple example, however, will illustrate what services are and how to interact with the Service Container in...
Change the font size
Change margin width
Change background colour