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.
This patch for review allows the themer to theme the ajax_register login block by modifying the ajax_get_login_block_content()
function to pass through a theme hook.
This is a feature enhancement to a great module!
The patch for review is in the next post.
Joe
Comment | File | Size | Author |
---|---|---|---|
#2 | ajax_register-787274-2.patch | 2.05 KB | drupallerina |
#1 | ajax_register-787274-1.patch | 3 KB | jghyde |
Comments
Comment #1
jghyde CreditAttribution: jghyde commentedHere is the patch.
Comment #2
drupallerinaSince the patch above has already been committed to the 2.x branch, I rewrote it for 4.x and am hijacking this issue. ;)
Comment #3
drupallerinahijacking issue, setting right version :)
Comment #4
SpleshkaBut what the point to theme this links? You could use theme_link(). No needs to create special theme functions for them.