Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm building a custom module that modifies the main theme (barrio bootstrap in this case) to establish a landing page. In that process, it hides blocks in some regions and takes over rendering the main menu.
When I try to replace the default menu template used by the primary menu, "menu--main.html.twig" with my own template "mymenu--main.html.twig" that is exactly the same, it doesn't render the menu links. It is using my designated template, but for some reason it's not rendering the same.
Hello,
I have a situation where I have a custom field (myfield) that was initially defined in Module 1. Some fields have been created with it. That field is now defined in Module 2 instead (i.e. Module 1 no longer defines or does anything with that field).
The problem I'm having is that, despite everything about the field being exactly the same, I can't uninstall Module 1 because it thinks there are fields that require it. If I create a new field of type myfield, it correctly assumes it is part of Module 2.
Hi Guys,
I'm using xmlrpc_encode_request() this method in Drupal 7 and now I migrated my site to Drupal 9 and I want to use this method. How to use the same ?
I'm using like this: