Can you send a variable containing html from module file to template

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

.module code :

$var = <p>hello world</p>

.html.twig code:

{{ var }} 

Permission change notification in Drupal 8

I am looking for a solution for Admin user when he changed the permissions he must got notified. With what was previous values and what the new values in User friendly email or any backend report.

I tried to find on web but module which i found that are for drupal 6 or 7 not for 8. please help me to find for Drupal 8

https://www.drupal.org/project/permission_watch (D6)

How to display an SVG code in a Views ?

I added the following code for a "Global: Custom Text" field of a Views :

SSL Self signed certificate on local Error

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:

 curl error 60 while downloading https://packages.drupal.org/8/packages.json: SSL certificate problem: self signed certificate in certificate chain   

Any ideas to bypass this? Thank you

How to create a breadcrumb trail with the taxonomy terms used by the node ?

My website works with Drupal 9, I created a taxonomy for my nodes :

https://i.stack.imgur.com/k9wIy.png

I installed the following module :

https://www.drupal.org/project/easy_breadcrumb

Here is what I am trying to do. If my "node" has the terms "Crypto" and "ICO", the breadcrumb should display :

Accueil >> Crypto >> ICO >> Node Title

HELP Site won't load, Configuration made by Vendor affected php.ini

Hello ther,e, recently we have a Secure Server Plus installation on the Centos 6 Server, 

we are working with Drupal 8,  the vendor notified that they

"  Some configuration changes were made to php through the php.ini file, including some changes that disabled certain functions that are often used to propagate malware. We also ensured that php error reporting is not passed to the user.  "

When loading the Drupal portal, we have: 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x