Introduction Drupal core uses the validation API(Constraints) to validate the fields, Now, Drupal provides the flexibility to use the core validator to validate your own entity without writing the validation. We can also create a custom validator if needed. For uses constraints to write custom validators. Limitations on the form based...
Introduction CKEditor 5 is the default editor in Drupal 10, having been initially introduced in Drupal 9.3. CKEditor 5 was written completely from scratch, and it's based on ES6. Ckeditor-5 also provides the flexibility to create custom plugins within the editor just like ckeditor-4. Now CKEditor 5 has a lot of enhanced features in...
Introduction A virtual host refers to the practice of hosting multiple domain names on a single server or multiple servers. It allows a single physical server to serve multiple websites, each with its own domain name and content. Virtual hosting is commonly used in web hosting environments to efficiently utilize server resources and...
In the intricate world of Drupal development, effective logging is a cornerstone for building robust and error-free websites. Logging provides developers with crucial insights into the inner workings of their applications, aiding in the identification and resolution of issues. This comprehensive guide dives deep into various logging...
Introduction Lazy loading is a technique used to defer the loading of non-critical resources (such as images) on a webpage until they are needed. This can significantly improve page load times and user experience, especially on pages with large or numerous images. In Drupal, the Blazy module provides a convenient way to implement lazy...
Single sign-on (SSO) is an authentication method that enables users to securely authenticate with multiple applications and websites using just one set of credentials. SSO is an authentication scheme that allows a user to log in with a single ID to any of several related, yet independent software systems. True single sign-on allows users...
Action Plugin Overview The Actions module is a core module in Drupal that allows site builders and developers to create automated workflows by defining actions and triggers. In Drupal, actions refer to a set of tasks or operations that can be performed on a site. For example, an action can be sending an email, publishing content, or...
In this article, we will learn a step-by-step process to set up Drupal multi-site, with a shared (single) codebase and a separate database per site on a local machine, using Lando. When to consider multi-site? Before we dive into the technical details about setting up multi-site, let us first understand when to consider multi-site...
Introduction Drupal is a great tool for building websites, and it comes with a cool feature called Twig that helps make websites look good. In this blog, we'll talk about using Twig in Drupal to handle dates easily. Understanding Twig and Drupal Date Twig is like a helper for making web pages look nice, and Drupal uses it to help...
Introduction Google Analytics is a web analytics service offered by Google that allows website owners and marketers to track and analyze various aspects of their website's performance and user behavior. It provides valuable insights into how users interact with a website, what content they engage with, where they come from, and much...
What is Apache Solr? Apache Solr is an open-source search platform developed by the Apache Software Foundation. It's based on the Apache Lucene library and provides powerful search and indexing capabilities for websites, databases, and other content. For Drupal users, it is possible to integrate your site with Solr. The Search API...
What is Schema Markup and why is it important for SEO? Schema is a way of providing structured data to search engines that helps them understand the content and context of your website. Schema can improve your SEO by enhancing your visibility and relevance in the search results. For example, schema can display rich snippets, breadcrumbs,...