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.
Should be core/themes/stark/templates/user/user-permission-description.twig
Original theme_user_permission_description()
Comment | File | Size | Author |
---|---|---|---|
#2 | 1778912-user-permission-description-2.patch | 3.21 KB | andypost |
#1 | 1778912-user-permission-description-1.patch | 1.27 KB | andypost |
Comments
Comment #1
andypostNot sure about doc-block formatting
Comment #2
andypostFixed theme_user()
Comment #3
podaroklooks good
good example for function to twig template conversion
Comment #4
podarokcommited
thanks
Comment #5
podarokfeel free update docs with this nice example conversion
Comment #6
podarokcommited into 8.x branch
Comment #8
Fabianx CreditAttribution: Fabianx commentedReopened due to not having been merged to front-end branch.
DO NOT REMOVE theme_ functions for now
Needs re-roll.
Comment #9
tlattimore CreditAttribution: tlattimore commentedI don't think there is anything here that needs a re-roll. Since theme_functions do not need removal yet, and /core/themes/stark/templates/user/user-permission-description.twig exists in the fron-end branch. Marking as closed & someone can reopen if I'm wrong.
Comment #10
Fabianx CreditAttribution: Fabianx commentedShould not remove file, but still add the template part.
Re-opening.
Comment #11
tlattimore CreditAttribution: tlattimore commentedCommitted the template reference fabianx outlined in #10 here: http://drupalcode.org/sandbox/pixelmord/1750250.git/commitdiff/c4e7244d9...
Don't think that it will be an issue, but going to tag for review since I didn't roll a patch first. If there's a problem with it we can roll back the commit.
Comment #12
Fabianx CreditAttribution: Fabianx commentedWorks for me. That is fixed then.
Comment #13.0
(not verified) CreditAttribution: commentedUpdated issue summary.