Drupal

Blog

How to get the translation of a node programmatically in Drupal 10

In this blog post, we will provide a comprehensive guide on how to get the translated node programmatically in Drupal 10.

Blog

How to get the path of an uploaded file inside a Twig template in Drupal 10

In this blog post, we will explore how to get the path of an uploaded file inside a Twig template in Drupal 10.

Blog

How to get $_POST and $_GET parameters in Drupal 10

Drupal 10 uses the HttpFoundation component from the Symfony framework to handle HTTP requests, so accessing parameters from $_POST and $_GET is done differently than in previous versions of Drupal. In this blog post, we will look at how to get $_POST and $_GET parameters in Drupal 10.

Blog

How to change the allowed tags in CKEditor 5 and Drupal 10

The allowed HTML tags in CKEditor 5 are determined by its configuration and these tags cannot be edited directly from the user interface. In this article, we will show you how to change the allowed HTML tags in CKEditor 5.

Blog

Running cron more than once an hour in Drupal 10

Cron is an essential component of Drupal that is used to automate repetitive tasks, such as checking for updates, sending emails, and cleaning up old data. By default, Drupal runs cron once an hour, but in some cases, you may need to run it more frequently. If you're looking for a way to run cron more often than once an hour, this article will help you do so.

Blog

Changing the 'Name' Label on Term Add/Edit Pages in Drupal 10

A common issue that developers face in Drupal is changing the 'Name' label on term add/edit pages. This label is used to identify the name of the term being added or edited and is an important aspect of the user experience.

Blog

How to remove a configuration object from the active configuration in Drupal 10

If you have a Drupal 10 custom module defining a field storage configuration object and you face issues while reinstalling the module after uninstalling it, you may need to manually remove the configuration object. To do so, you can use different methods like hooks, Drush commands, and Drupal console commands.

Blog

Installing a Drupal theme from GitHub with Composer

In this blog post, we'll guide you through the process of installing a Drupal theme from a GitHub repository using Composer.

Blog

Getting node URL path using entity query in Drupal

In this blog post, we'll explore how to get a node URL path using entity query in Drupal. We'll discuss different methods to generate URL strings and provide examples.

Blog

Deleting nodes of a given content type with Drush

To delete nodes of a given content type with Drush, you can use the following commands depending on your Drupal and Drush version.

Subscribe to Drupal