11.0.x

Create an Info File for a Module

Last updated

Reset Vendor Status with Cron

Last updated

Update an Entity When the Form Is Submitted

Last updated

Concept: Entity Queries

Last updated

Entity queries are the standard method for retrieving, filtering, and sorting lists of entities programmatically in Drupal. Unlike direct database queries, entity queries work seamlessly with Drupal's entity system, including support for access control and abstraction from storage details.

In this tutorial, we'll:

Concept: Dependency Injection

Last updated

Dependency injection is an object-oriented programming design pattern widely used in Drupal. Instead of a class creating an object directly, dependency injection provides services or objects to a class externally, and is an example of the Inversion of Control principle.

In this tutorial, we'll:

Define a Configuration Schema and Default Values

Last updated

Retrieve and Update Weather Forecast Settings

Last updated

Concept: Configuration API

Last updated

The Configuration API provides a standardized method for storing and managing a module's settings in Drupal. This tutorial covers the concepts of active configuration, simple configuration, configuration entities, and configuration schemas, and how to interact with, create, and retrieve configuration data.

By the end of this tutorial, you'll have a better understanding of how to work with configuration data in Drupal, focusing on simple configuration for module settings.

Goal

Understand how to work with simple configuration data using Drupal's Configuration API.

Concept: Contributing Your Custom Modules

Last updated

Concept: Using and Improving Contributed Modules

Last updated

Installing community-contributed Drupal modules can enhance your project's functionality without the need to develop custom code. It's common to find a module that almost meets your needs but requires updates or additional features. Engaging with the module maintainer and other community members to improve these modules enriches the Drupal ecosystem and aligns with the open source values of collaboration and shared progress.