Illustration blog

Drupal Blog

Drupal is a powerful and easily editable content management system (CMS) that allows users to create and manage content on one or more websites.  It is open source and used by millions of people and organizations. It benefits from a very large community of developers and users. Discover on this blog articles on Drupal modules, tips and code to optimize and add features to Drupal.

Ajouter une meta description à une seule route générée par un module Drupal.

If you are creating a route with a Drupal module, you may need to add a meta description to this page. You can use the hook_page_attachments() hook

read more

How to remove validation errors with a back button on a Drupal multistep form?

If you create a form in Ajax and multistep, you may encounter a problem with the return button to the previous step which will cause a validation problem.

read more

How to get a twig template suggestion for a custom block?

By default, Drupal does not have a twig template suggestion for custom block types. You can use a hook to get a suggestion easily.

read more