I am overriding the registration_link theme function in my site's theme and I would like to have some additional context passed in through the $variables variable so that I can add classes based on this context. Attached is a patch to add the registration type, entity type and entity to the theme variables. Other then my particular use I can see this being useful for others as well.
cheers.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | registration-more_context_4_theme_registration_link-2210689.patch | 1.07 KB | acrazyanimal |
Comments
Comment #1
acrazyanimal commentedNow uploading the patch file.
Comment #2
acrazyanimal commentedComment #3
CountPacMan commentedPatch works. Will push to dev. Thanks!