I'm migrating drupal 7 to drupal 8 and there is a custom module that contains a lot of custom html code in the .module file. I understand that modules in drupal 8 requires a .html.twig file that contains the html while the .module uses a hook to send variables to the .html.twig
Is there a way to send a variable containing HTML in the .module file to be rendered by the .html.twig
Trying to update version from 8.9.4 to 8.9.19. Manually updated Drupal core by switching ~.files, Core, and Vendor. Now tryin to run Composer update and I am getting this error:
I'm wondering how I just did this, but I installed D9 on a server running Apache/2.4.6 (CentOS). I actually did it by accident while testing out a composer installation. I thought it might be a fluke so I removed it. and did it again. Both times it shows as a working Drupal 9 site.
When I run Drupal 9 with the index file in the root directory the install runs fine (manually added from tarball) .
When I try to run Drupal 9 from the 'web' folder installed with composer (composer create-project drupal/recommended-project:9.2.6 drupal9.2.6) in the root directory I'm getting the 400 Bad Request. I changed the 'httpd-vhosts' file (below) to include the path to the web folder and restarted Apache. But it continues to throw the error.
I have updated modules and core updates locally via Composer on our development server and not planning to run Composer on the production server (Azure). Can I please know what will be an alternative to deploy updates to production site and running database updates?
I'm planning to use Git to do the above process and run update.php on the production site. Are there any beginner level articles to learn about how Git can be used for this?
Hi guys. I have a site running on Drupal 7 and I am upgrading to Drupal 9. I had to upgrade to Drupal 8 first, as some contributed modules do not support direct migration, like Simplenews.
I managed to migrate from Drupal 7 to 8, but while upgrading to Drupal 9, I ended up forgetting to check the compatibility of some modules (Service Links and Login Toboggan).