I create a custom test module and in it I have a block file "/src/Plugin/Block/FirstBlock.php".
I want to use a twig file to show the header of this block. If I use this block--first-block.html.twig in theme's template folder then it works, but placing the same file in module folder doesn't work and defaults back to classy's block.html.twig.
Is there something I can do to place it in module folder and have Drupal recognize it?
I am getting a default blank form when I submit a form for a second time, when the first submitted output includes more forms.
I have a search form to list items that that the user can perform actions on with item-specific forms.
On successful submission, the find form displays the items as nested forms. The item forms all work as expected and the outer find form textfield is populated with the original input, as expected.
I would like to use the Optionally control meta tag permissions individually module however it looks like it hasn't been updated in 6 years, does anyone know if it is still usable for Drupal 7?
I have a leaflet view and I display streets on that view and I have another display for listing street names. I want to create a script, which helps when mouse cursor hovers on a street name in the list the poly-line which belongs to that street should be bold.
I tried to combine these two tutorials for this issue:
Hello, I am new to the forum, and I apologize if I should have posted this elsewhere. In a specific case, I have a problem acquiring the logged on user (Drupal 8.7.8)