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.
Move all logic from theme_item_list() to bootstrap_preprocess_item_list(). Override item-list.html.twig to remove useless div.item-list wrapper.
Comment | File | Size | Author |
---|
Comments
Comment #1
m1r1k CreditAttribution: m1r1k commentedComment #2
m1r1k CreditAttribution: m1r1k commentedComment #3
markhalliwellMove above core's implementation.
I agree, this should be html_tag instead here and just make the title a renderable array. Twig will automatically render it when it's printed.
Comment #4
markhalliwellWe don't need to override this template anymore.