Extending Drupal

There are a great many things you can do in Drupal by using just the core facilities. However, when you start going beyond those core facilities, you will start to need to write custom code. Many of the site building features of Drupal 8 are similar to previous versions, but with Symfony under the hood, writing new modules in Drupal 8 is very different. In this chapter, we will be covering the following topics:

  • Using Drush and Composer in order to aid development
  • Creating a new module
  • Understanding configuration and plugins
  • Working with dependency injection
  • Adding new permissions
  • Adding menu routes and menu items
  • Using events and hooks

Get Mastering Drupal 8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.