O'Reilly logo

Beginning Drupal 8 by Todd Tomlinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 12

image

Anatomy of a Module

Although it is possible to build relatively complex Drupal 8 sites without ever having to look at the internals of a module, there may be instances where you’ll need to understand some of the inner workings of a module in order to fully take advantage of the features that the module provides. In this chapter I’ll take you on a high-level tour of what constitutes a module in Drupal 8 by walking you through the creation of a simple Drupal 8 module.

Your First Drupal 8 Module

Don’t worry, we’ll keep it simple! Our example module does only one thing, but it does it very well: display the text “Hello Drupal 8 World!” ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required