Newest Questions
88,144 questions
0
votes
0
answers
52
views
Issue with button Remove and Edit, in Image type entity reference
I have a block, this block "my_block" has a field called field_contents. The field type and other information about this field are:
Entity reference revisions
Reference type: Paragraph
...
0
votes
1
answer
49
views
Search API endless loop on get getItemIds
I'm trying to implement a super simple proof of concept for pulling in non-drupal stored content into search api via Solr. The plugin is super simple:
<?php
namespace Drupal\sla_indexing\Plugin\...
0
votes
1
answer
42
views
drush cr with DDEV: The specified database connection is not defined: default
I followed the steps to install a local Drupal 11 development server at https://www.drupal.org/docs/develop/local-server-setup/windows-development-environment/installing-drupal-with-ddev-in-wsl2-on-...
0
votes
0
answers
26
views
How to make a block out of the form? [duplicate]
There are no advanced settings in the Webform settings (Drupal 11) (as, for example, in Drupal 7), where it was previously possible to make Webform a block.
Do I need to connect additional modules or ...
0
votes
0
answers
32
views
Push Framework URL Tokens - Need For The Created Content
Push Framework (using with Slack module) seems to have a limited number of tokens that can be used. I'm looking for one that would resolve to the URL of the new content I've created (preferably the ...
3
votes
1
answer
46
views
How can I immediately trigger push notification without waiting for cron?
I am using Push Framework with the Slack module, with a number of other required modules. Notifications are created when I create a new knowledgebase article (content type). However, they are not sent ...
0
votes
0
answers
30
views
Restore access to frontpage after making it forbidden
I have a website where I use the book module to structure my pages. I made a custom module to forbid access to a node based on a boolean field in the book parent.
Simplified: When this field is set to ...
0
votes
0
answers
70
views
To create a new theme, why not just copy starter_kit theme instead of run `php core`...? Or use drush theme generate as basis
The apparently official documentation, https://www.drupal.org/docs/core-modules-and-themes/core-themes/starterkit-theme , says to generate a new theme, do this:
php core/scripts/drupal generate-theme ...
-3
votes
2
answers
164
views
When should I choose "php core" or "drush generate theme" for the basis of a custom theme? [closed]
("We" as in developers in general)
Looking at what appears to be the official documentation, https://www.drupal.org/docs/core-modules-and-themes/core-themes/starterkit-theme there's a ...
0
votes
1
answer
34
views
Trying to get the layout_builder content data via JSON:API
I am trying to extract the body content from layout_builder_layout ,But I cant able to get data from the REST API (/jsonapi/node/page),even I tried to create custom module ,remains same .
But I can ...
1
vote
1
answer
23
views
How to add VBO support to a custom entity?
I have a custom entity I created with drush generate entity:content. I created an admin view of my entity and I can display fields and add filters.
Now I want to add support for VBO. (I thought it ...
1
vote
1
answer
41
views
How to add a view for managing custom entities like Node and Media do?
I have a contrib module that uses a custom entity I generated with drush generate entity:content. By default, this has an EntityListBuilder class.
I decided I wanted to have a view to manage my entity ...
0
votes
0
answers
33
views
The site does not send emails
I have sites running the following:
D10.4.7 PHP 8.3.21 Mail working out of the box
D11.1.7 PHP 8.3.21 Mail working out of the box
D11.2.2 PHP 8.3.21 Mail not working.
I have ensured that the modules ...
1
vote
1
answer
54
views
Behaviors not working as expected
I am trying to understand and use Javascript a bit more in Drupal Webform. I have managed to create some simple javascript to prove that I can create a module, load a library correctly and get a ...
2
votes
1
answer
69
views
How can I remove references to the Tour module?
I've updated to Drupal 11.1.2 from Drupal 10 but when I try importing configs I get this error.
TypeError: Cannot assign null to property Drupal\tour\Entity\Tour::$module of type string in Drupal\...