


How to disable/hide submit button in webform based on a computed_twig element’s value
[sorry for the length of this message, I tried to provide a concise decription of my problem in order to make it easier for people to understand and help] Hello all, I have a webform comprised of 3 pages (two pages of input and a custom preview page). I explain the... read more
Custom migration source plugin not enabled in source site error
I’m trying to write a custom source plugin for a d7-d8 migration. I want to extend the DrupalnodePluginmigratesourced7 Node.php plugin. I’m getting the following error when I try to run the migration from the UI: Migration my_node_page did not meet the... read more
How does one add a Total(s) row to Views results?
After doing some research, it seems like the best way to get a Total(s) row added to a Views table is via the Views Aggregator Plus module. (Is there an easier/better way?) As can be seen below, I’m trying to list a bunch of nodes grouped by the first column... read more
Creative Commons: A Statement of Solidarity and Work to Be Done
The Creative Commons organization just posted the statement linked to join the millions around the world who are mourning the killings of George Floyd, Breonna Taylor, Tony McDade, Nina Pop, Ahmaud Arbery, and others: A Statement of Solidarity and Work to Be... read more
How to hide Forums from anonymous users?
I installed Forum module. So, I have ‘Forums’ link in ‘Tools’ menu corresponding to the path /forum defined in forum.routing.yml in which access is defined by _permission: ‘access content’. In my site, anonymous users are allowed to... read more
Inline entity form module fails when creating a new node and the reference method is Views
I have a Drupal 8, core version:8.8.x project, i’m using inline entity form module(latest version) for entity reference fields. Also i have tried using entity connect module but it caused various issues. The problem is when creating a new node, using the inline... read more
Get path alias of node on presave
I was trying to get the path alias using for nodes using the following code. Drupal::service(‘path.alias_manager’)->getAliasByPath(‘/node/’ . $nid); It works for nodes that are already created, but it breaks when a new node is being added. I... read more
Trigger a behavior from another module in Javascript?
The block_ajax module defines a behavior in its module: https://git.drupalcode.org/project/block_ajax/-/blob/8.x-1.x/js/refresh_ajax_block_command.js I want to initiate this call every 60 seconds so the contents of the block can refresh if there is new data from my... read more