Drupal 8/9 add site domain name as a class for body tag

We can add website domain name as a body class with the help of drupal preprocessing html hook function, to get the solution checkout this handy snippet.
copy-icon

Comments

Authors

Read Next