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.
Currently, we do not have block content wrapper as in core block.tpl.php.
In my mind it will be better to add it.
Comment | File | Size | Author |
---|---|---|---|
#1 | interdiff.txt | 548 bytes | HOG |
#1 | block_content_class_2539990_1.patch | 396 bytes | HOG |
Comments
Comment #1
HOG CreditAttribution: HOG at Skilld commentedContent class added.
Comment #2
markhalliwellWe purposefully removed this as it is rarely needed (i.e. core wraps too much), which is why it was actually removed in D8 (#1972122: Remove the DIV tag around block content).
If it's truly desired, you can override the template in your sub-theme.