Overview In Drupal, a Webform handler is a component of the Webform module that processes form submissions. Webform handlers allow developers to extend the functionality of webforms by performing various actions or integrations upon form submission. Processing Form Submissions When a user submits a webform, the form data is passed through a series of handlers, […]
Overview When working with YouTube video integration in Drupal, you often come across which proper YouTube URL we use in our application for playing videos. Sometimes, a few URLs worked on a few browsers, and some didn’t. However, to overcome this kind of problem, we already have a contributed module in Drupal named YouTube Field, […]
Introduction When working with complex forms, you often have fields whose state depends on the input values of other fields in the form. For example, you might have a select list of options, the options for which depend upon the value selected for another field. In this blog, I present one case study of my […]
The main purpose of this blog is to create a custom command to import all .po files. In one step Portable Object (.po) file is used for localization and content translation. Let’s start the creation of a custom drush command to import .po files: Step 1. Create Module Create a .info.yml file name: Custom Drush […]
The most important CMS feature is actually the content editor. Additionally, Drupal has significantly improved its content management capabilities with various new features for Drupal 8/9, including the CKEditor widget system and the Advanced Content Filter (ACF), thanks to the powerhouse that is CKEditor as its default rich text editing tool. So, yes, even with […]
The Migrate API provides various services for migrating data from different sources to Drupal 9 (or later). Today we are going to learn how to migrate data from online xml file to our site of Drupal 9. The prerequisite contrib modules are : Migrate Plus, Migrate Tools, Migrate. For setting up folder structure and creating […]
In our Drupal projects, we have requirements to add some kind of inline javascript code, like adding GTM script. This can be in the page header or page bottom as per requirements. So in the blog, we will see how we can achieve this by both methods. Drupal provides hooks to do this in a […]
Cache Life cycle is important to understand as it plays an important role in optimizing the performance and scalability of web applications. In this blog, I will dive deep into the cache life cycle in Drupal 9, exploring its key stages and highlighting best practices to maximize caching benefits. Various Stages are as follows:- ● […]
Custom table migration is slightly different from Content migration. We can migrate Custom table data from Drupal 7 to 8 by using simple steps. Before discussing those steps, we should know which modules are necessary to migrate data. Necessary modules Migrate Migrate Drupal Migrate Drupal UI Migrate Plus Migrate Tools Drupal Upgrade We can use […]