This is the code repository for Drupal 8 Module Development - Second Edition, published by Packt.
Build modules and themes using the latest version of Drupal 8
Drupal 8 comes with a release cycle that allows for new functionality to be added at a much faster pace. However, this also means code deprecations and changing architecture that you need to stay on top of. This book updates the first edition and includes the new functionality introduced in versions up to, and including 8.7.
This book covers the following exciting features:
- Develop Drupal 8 modules that do all the things you want
- Master numerous Drupal 8 sub-systems and APIs in the process
- Model, store, manipulate and process data to serve your purposes
- Display data and content in a clean and secure way using the Drupal 8 theme system
- Test your business logic to prevent regressions
- Stay ahead of the curve and write code following the current best practices
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter-2.
The code will look like the following:
name: Hello World
description: Hello World module
type: module
core: 8.x
package: Custom
Following is what you need for this book: The primary target of this book is Drupal developers who want to learn how to write modules and develop in Drupal 8. It is also intended for Drupal site builders and PHP developers who have basic Object Oriented Programming skills. A little bit of Symfony experience is helpful but not mandatory.
With the following software and hardware list you can run all code files present in the book (Chapter 1-18).
Chapter | Software required | OS required |
---|---|---|
All | Drupal 8.7 | Linux |
All | Composer | Linux |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Daniel Sipos is a senior web developer specializing in Drupal. He's been working with Drupal sites since version 6, and started out, like many others, as a site builder. He's a self-taught programmer with many years' experience working professionally on complex Drupal 7 and 8 projects. In his spare time, he runs webomelette, a Drupal website where he writes technical articles, tips, and techniques related to Drupal development.
Click here if you have any feedback or suggestions.