CHAPTER 4

image

Creating a Basic Drupal Module with HTML Output

Now that you’ve gotten your feet wet with HTML, this chapter shows you how to use HTML to create your own custom web pages within the Drupal framework. In this chapter, I’m actually going to jump ahead a bit. Even though I’m going to assume you don’t know any PHP (a server-side scripting language designed for web development), I’m going to give you just enough right now so you can play around with showing basic HTML in a programmatically created Drupal page—that is, via a Drupal module.

In order to create your module, you first need to locate your Drupal docroot directory, which is where ...

Get Drupal 8 for Absolute Beginners 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.