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.
Lets remove php logic from templates. i think they should be as simple as 'if something is set, print it'. so we need to make sure we implode actions into LI in preprocess function.
<?php foreach ($message_actions as $action): ?>
<li><?php print $action ?></li>
<?php endforeach; ?>
Comment | File | Size | Author |
---|---|---|---|
#1 | privatemsg.actions.patch | 3.16 KB | Berdir |
Comments
Comment #1
BerdirThe attached patch does use theme_links to display them. To do this, I needed to change
Comment #2
litwol CreditAttribution: litwol commentedGood patch!
its in .