11.0.x

Add an Action Link in a Module

Last updated

Define Permissions for a Module

Last updated

Overview: Info Files for Drupal Modules

Last updated

In this tutorial, we'll examine one the first files you'll need in order to create a Drupal module: the info file. Each module is required to have a MODULE.info.yml file to help Drupal identify that a bundle of code is a unique module. This specially-formatted YAML file tells Drupal about the module and provides other useful metadata. In this tutorial, we'll walk through both required and optional information you put in a module's info file.

Update Drupal's Minor Version

Last updated

Drupal's development has a regular release cycle consisting of major, minor, and patch releases. Drupal releases use semantic versioning for its version numbers. Since we're committed to making sure our tutorials are kept up-to-date with the latest and greatest version of Drupal we figured it would be a good idea if you knew how to keep your Drupal site up-to-date with the latest "point" releases as well.

This tutorial will cover:

Modify Existing Entities with Alter Hooks

Last updated

Entity API Hooks

Last updated

Inspect Configuration with Drush

Last updated

Configuration Data Types

Last updated

In this tutorial, you'll learn about the two types of configuration data: simple configuration and configuration entities. By the end of this tutorial, you should have a better understanding of which type of configuration to use in your module.

Goal

Understand the difference between the two types of configuration data in Drupal.

What Are Hooks?

Last updated

Hooks allow modules to alter and extend the behavior of Drupal core, or another module. They are one of the various ways that code components in Drupal can communicate with one another. Using hooks a module developer can change how core or another module works -- without changing the existing code. As a Drupal developer, understanding how to implement and invoke hooks is essential.

In this tutorial we'll:

Define and Invoke a New Hook

Last updated