I'm developing a website on Drupal 10 and I need the module Twig Tweak to be installed and working in order to use drupal_entity() in templates. I co ...
I'm developing a website on Drupal 10 and I need the module Twig Tweak to be installed and working in order to use drupal_entity() in templates. I co ...
I'm new to drupal, can anyone tell me how can I create a date field with only month and year in my custom form? I have found a module for it but I wan ...
Here i want to add a my own custom column in the content section through my own custom module which should automatically appear on the content section ...
When a buyer goes through the checkout process as anonymous guest, he specifies his email at the "Order information" step in the input The email is ...
By default when we are at the cart page and click the button "Checkout", we are redirected to the "Order information" page, then we click "Continue to ...
I noticed an error in smtp.transport.inc of the drupal module smtp 7.x-1.7 because of the in php 7.2 deprecated and in php 8 removed function "each()" ...
I successfully receive product variation object by its id Then I successfully receive its structure like by print_r() like Now if I try to ge ...
I need to display product price in the template commerce-product.html.twig The variable {{ product.variation_price }} is rendered as currency and num ...
. Answers to this question are eligible for a +50 reputation bounty. Ja ...
I created taxonomy terms and subterms. My nodes can be associated with only one term. Here is my taxonomy: I created a view block that displays ...
This is the code. How can I get $tree translated to the langage inserted in $langage. Thanks in advance. ...
I was trying to setup an easy way to debug the Lando Drupal installations using Kint module. But I don't want to install the Devel and Devel Kint Extr ...
I upgrade the drupal7 to drupal9 how i can make the responsive image in custom module $banner_img['large_image'] = $base_url.'/'.$module_path . '/imag ...
I have a custom block with some values I can access in twig template of that block. Let's say variable product_type and in same twig file I'm adding a ...
imported database, copied drupal site files to wamp/www folder, changed database configuration files, but got "Drupal already installed" error. Tried ...
""This question is for testing whether or not you are a human visitor and to prevent automated spam submissions"" Hi, Im looking for a way to remove t ...
I am trying to connect drupal with keycloak for login. I have added client id, client secret and Keycloak realm , getting from keycloak server. Us ...
How can see the revision history of a Drupal user. I can see the history on content types, but I don't know how to access this same data for a Drupal ...
I have been trying to write a function to check if user is authenticated and then call a google analytics script for custom report. This has been a bi ...
I'm currently working with an output from the Drupal json-api module and have noticed that the structure of an output forces an O(n^2) time complexity ...