Newest Questions
88,144 questions
0
votes
1
answer
16
views
Can I change the field type of the title field in a custom content?
If I create a custom content type in Drupal 10, it has a title field whose type is text. Can I change it to number?
The content type is apartment, and the natural title is the apartment number. It'd ...
0
votes
0
answers
16
views
Setting title not working on a single custom entity edit form
What circumstances could make setting a title to a regular custom entity edit form fail completely? The title displayed is the result of calling $entity->label(). _title or _title_callback in ...
0
votes
0
answers
18
views
Source tab missing from Webforms
ISSUE
After updating to Drupal 10.5.2 and Webform 6.2.9, the "Source" (YAML) tab is missing from the Webform builder interface, even for admin users with full permissions.
What I’ve tried
...
0
votes
0
answers
33
views
I force dir="ltr" but Drupal or CKEditor brings back dir="rtl" - how to solve that if at all possible? [closed]
In Drupal 11.2.2 with Arabic as main language and English as a second language, I have a node set to English.
When I edit it, I use the following JavaScript code to make everything have an ltr ...
1
vote
0
answers
47
views
How to install Open Social with a secure Drupal core version? [closed]
I’ve been trying to install Open Social via Composer, but I keep running into the same issue:
Open Social 13.x requires Drupal core 10.3.9, which currently has a reported security advisory.
Open ...
-2
votes
1
answer
43
views
DrupalGap for Drupal 10 [closed]
I try to update drupalgap 8 to be compatible with drupal 10. After updating some line ofr code in de drupalgap.module file my test connexion (link https//..../admin/config/services/drupalgap) word ...
1
vote
0
answers
47
views
$form_state->setRedirectUrl() is ignored on my custom exposed form submit handler
I'm using hook_form_alter() to add a custom submit handler to an exposed Views search form that's supposed to redirect the form after submitting, but it is being ignored.
I've confirmed that the ...
0
votes
0
answers
78
views
Edit pages are Rtl even though the node is set to an LtR language
Drupal 11.2.2 core with an Olivero sub-theme just for some custom CSS and JavaScript and with Arabic as default language and English as secondary language.
I have created a content type (node type) ...
2
votes
1
answer
117
views
How do I translate a route?
I want to translate a route so that the same controller can provide content at the path for each language. I would like to do this with one route, but I do not see any way to do that. Instead, I have ...
1
vote
2
answers
78
views
SDC component CSS files are not being picked up on a page reload, requires "drush cr"
Working in the .../themes/custom/mytheme/components/component-name/component-name.css standard, none of the changes to this CSS file are seen in the browser until I do a drush cr.
I do have ...
0
votes
0
answers
97
views
How can I update when an unsupported Composer plugin is used?
I get this error message when I use Composer to update.
Your site cannot be automatically updated until further action is performed. An unsupported Composer plugin was detected.
drupal/core-recipe-...
0
votes
0
answers
68
views
cache_page table too large [duplicate]
I'm working with a Drupal 10 website in production hosted in a Windows VM using WAMP (Apache + MySQL).
The site contains multiple pages with images.
However, the database size keeps growing rapidly, ...
0
votes
0
answers
78
views
Can I define new language prefixes for aliases?
In a Drupal 11 website with Arabic as the default language, English is also installed as a secondary language.
Only Arabic nodes have aliases but I consider to add aliases for nodes in English as well....
0
votes
0
answers
63
views
Set value in form Ajax callback to be used in validation
I have a Commerce checkout form consisting of multiple panes where I need to make some decisions concerning later validation in an Ajax handler. I would like to store some simple value like a bool ...
1
vote
0
answers
48
views
Gitlab CI running locally with ddev - [user-name]@git.drupal.org: Permission denied (publickey)
I'm following these steps to run the gitlab pipeline locally:
https://project.pages.drupalcode.org/gitlab_templates/info/test-locally/
In this step:
$ drupal-ci-local composer
I get this error:
Error:...