how to setup existing website with lando drupal 8 | how to setup existing website with lando drupal 9 | lando existing drupal site

As, i have posted how to start working with lando for drupal 8, drupal 9 projects from the scrach. But when we have existing projects, then how to setup with lando. Today i am goining to write a simple blog to setup exisitng project with lando, step by step. Let’s started. Note: Make sure, you … Read more

How to define an Event in Drupal 8 – 9, What is Dispatcher and Subscriber in Drupal 8 – 9?

Event Subscribers – are callable methods or functions that react to an event using Event Registry. Event Registry – This is the place where event subscribers. And collected and sorted. Event Dispatcher – The mechanism in which an event is triggered/fired, or “dispatched”, throughout the system. Event Context – Many events require specific set of … Read more

Drupal 8 webform rest api | Drupal 8 webform remote post example | Drupal 9 webform rest api with example

Dear Friends, As we know that Drupal as a headless technology booming right now, so we have lots of things to do. In this article we are going to learn, How to submit webform data using rest api with an example. Also, Read Drupal as a headless technology Install Drupal 9 using composer | install … Read more

How to define your own Services in Drupal 8 – 9 | what is services in drupal 8 | what is services in drupal 9

Services is a simple PHP class, which is build for solving/achieving specific task/functionality throughout the application. Because of this it is very easy to use in the applicatins. Service is a PHP class with some code that provides a single specific functionality throughout the application. So you can easily access each service and use its … Read more

Create custom rest api in drupal 8 – 9 | drupal 9 rest api | creating a custom REST resource for GET method in Drupal 8 | drupal 8 create rest api programmatically

Dear Developers, in this article we will discuss about, how to create RESTful web services in Drupal 8 | 9. This can be made possible by using HTTP requests to GET, PUT, POST and DELETE data. It is based on representational state transfer (REST) technology, an architectural style, and approach to communications often used in … Read more

how to find length of string in php | how to find length of string without using string function in php | how to find length of string without using strlen in php

how to find length of string without using string function in php

To find length of string in php, it’s very simple you can use the PHP strlen() function to get the length of a string. The strlen() function return the length of the string on success, and 0 if the string is empty. But whenever someone asked to how to find length of string without using … Read more

4 string functions to convert string case in PHP | strtoupper() function in php | strtolower() function in php | ucfirst | ucwords function in php

strtolower and strtoupper

Dear Readers. In this article we will discuss 4 PHP functions to convert case of letter one by one. strtoupper strtolower ucfirst ucwords What is string ? A string is a collection/sequence of characters. String is one of the data types supported by PHP. The string variables can contain alphanumeric characters. Strings are created when; … Read more

PHP string functions programs | str_replace functions in php | how to find and replace string in php

String Replace

Dear Friend, In this article we will discuss about str_replace function in PHP which is most popular and useful string functions. what is str_replace function ? The str_replace() is a built-in function in PHP and is used to replace all the occurrences of the search string by replacement string. Search and replace string can be … Read more

how to create content type in drupal | What are the content types | Drupal 8 adding new content type

What is a content type in Drupal? A single web site could contain many types of content, such as informational pages, news items, polls, blog posts, real estate listings, etc. In Drupal, each item of content is called a node, and each node belongs to a single content type, which defines various default settings for … Read more

Drupal 9 custom module development | how to create custom module in drupal 9

In this article we will discuss step by step Drupal Custom Module Development. Drupal is a great tool for building dynamic, scalable websites using drupal code and contributed modules. But in some case, contributed module will not work for any specific requirement, in that case, we need to create custom module, which can full fill … Read more