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.
Attached is a .inc file to add user signature to the user context.
Comment | File | Size | Author |
---|---|---|---|
#4 | user_signature .inc_.txt | 1.16 KB | awolfey |
#2 | user_signature.inc_.txt | 1.25 KB | awolfey |
Comments
Comment #1
sdboyer CreditAttribution: sdboyer commented...no attachment.
Comment #2
awolfey CreditAttribution: awolfey commentedoops
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedTHis should've been marked 'needs review' -- it would've been seen more quickly.
This is completely wrong in a content type. The whole page should not disappear just because one content type can't be viewed. It should just return NULL.
This should be using the $plugin = array() notation.
'single' => TRUE is now the default.
Comment #4
awolfey CreditAttribution: awolfey commentedHere is the file with the desired changes.
This was modeled on user_picture.inc, but I changed it to return NULL.
Thanks for the review.
Comment #5
awolfey CreditAttribution: awolfey commentedChanging to needs review.
Comment #6
merlinofchaos CreditAttribution: merlinofchaos commentedThanks for the reroll. Looks good now, so committed.