Drupal 10 blogs
How to make non clickable menu item programmatically in Drupal
What is a menu item?
In a web application, a menu item is a navigational element that appears on the user interface, usually within a menu or navigation bar. It represents a link or option that users can utilise to navigate across the application's various sections or pages. Menu items may include text, icons, or other visual signals, and they are frequently organised hierarchically to aid in easy navigating across the application's content and functionality.
Drupal 8 9 10: MongoDB CRUD operations Drupal - Bhimmu
Efficient MongoDB CRUD operations Drupal: streamline data management, enhancing website performance and the user experience. MongoDB integration in Drupal.
MongoDB CRUD operations Drupal
CRUD stands for Create, Read, Update and Delete operations, we will learn how to perform these operations in Drupal and MongoDB atlas. Read our post on Integration of Drupal with MongoDB to improve scalability Part 1 if you want to verify your MondoDB integration with Drupal.
Drupal 8 9 10: Difference between render and form elements
Render elements, or render arrays, are responsible for holding the data and related metadata to be displayed as HTML, whereas form elements are built to display the HTML form fields and their attributes. Form elements are subsets of the render elements, which means you can use form elements inside render arrays.
Restrict custom block visibility in Drupal - Bhimmu
Safeguard your content beyond the roles and permission, restrict custom block visibility in Drupal 10 programmatically using custom module
Why do you need to restrict custom block visibility
Recently I was working in a feature where I was making an external API request to fetch data and load it in a custom block. The content has visibility logic based on role and a subscription user has in the third party app.
How to recover admin account via Drush in Drupal 10
Drush is a command line tool to perform administrative tasks in Drupal. You can recover admin account via Drush using command line interface.
It is very common to forget the admin credential in your Drupal application. But don't worry you can recover your password using Drush (Drupal Shell).