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.
Problem/Motivation
Currently, it is not possible to override or add attributes (classes) to page template from modules like landing page or courses.
Proposed resolution
Allow adding page content attributes from modules by checking if attributes already exist in theme preprocess.
Comments
Comment #3
jaapjan CreditAttribution: jaapjan for Open Social commentedhttps://github.com/goalgorilla/open_social/pull/1543
Comment #4
jaapjan CreditAttribution: jaapjan for Open Social commentedFixed in 6.x and 7.x