Drupal 8/9 add body class as per the type of entity bundle

In Drupal, a node type can be identified with its bundle type, it is possible to get the bundle type as a body class. Check out this snippet to get the solution.
copy-icon

Comments

Authors

Read Next