Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
What i want to do in the end is adding tags of node as a class to panel displaying that node so that i can alter the css based on one or more of the tags.
What i thought to do was using the template_preprocess_node hook add those tags to the $classes_array of the node, this works but the classes there aren't anywhere to find on the panels page, kinda normal since the panel takes over the layouting.
But what's the best way to accomplish this? Is there a way to call back the $classes_array of the node or is there another better way to do this?