python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Change input submit form control to button form control in Drupal 9 Forms API
I want to replace input submit form control by a button form control into Drupal 9 Forms API. It seems not to be standard because the type of the submit button seems to be hard coded into the Forms AP...
Simon Janvier
Votes: 0
Answers: 0
How to display unique nodes for a page?
The scenario is like this: we have a news website, every page display different type of news nodes. We like to set the in this way that, for a single page, no news node should be display more twice. i...
Md. Shafiq Hossain
Votes: 0
Answers: 0
Drupal 9.2.9 - Conditional field in inline_entity_form (#states) not working
I have entity "parking_lot" with several "pricings", in the "parking_lot" entity form, there is a field "pricings" using the widget inline_entity_form_complex. ...
Jasmin
Votes: 0
Answers: 1
How to render variable without special characters
We are using a variable like this, to render the text without special characters like HELP & SUPPORT,
{{ variable|render|striptags|trim|convert_encoding('UTF-8',
'HTML-ENTITIES') }}
After up...
selva
Votes: 0
Answers: 3