Newest Questions

Filter by
Sorted by
Tagged with
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 ...
drup's user avatar
  • 1
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\...
Jance's user avatar
  • 2,429
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-...
Peter Kelley's user avatar
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 ...
Елена's user avatar
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 ...
Steve Brown's user avatar
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 ...
Steve Brown's user avatar
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 ...
Joost's user avatar
  • 1,428
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 ...
therobyouknow's user avatar
-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 ...
therobyouknow's user avatar
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 ...
user119761's user avatar
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 ...
Patrick Kenny's user avatar
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 ...
Patrick Kenny's user avatar
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 ...
VortexCentrum's user avatar
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 ...
ChumKui's user avatar
  • 199
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\...
blu's user avatar
  • 478

15 30 50 per page