A start for easily altering text string in theme. I'm certain this could use more work, so I'm just throwing it up here from any interested person.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tnanek’s picture

I did this in a more general way for any of the formatters in the module. This permits maximum flexibility, which is always a good thing, in my opinion. (I didn't see this prior to now, so I used my own approach for a similar issue). Hopefully, this will be committed, and then I can continue to tweak the module from there.

I tested all the formatters, and the only one which doesn't seem to output anything as of now for me is the spamspan. Though that may be due to a problem with the other module, on a brief glance it looks right.

BWPanda’s picture

Title: Provide theme hook to easily format text string in link » Provide theme hooks to format output
Version: 7.x-1.0 » 7.x-1.x-dev
FileSize
3.33 KB

The patch from #1 didn't apply for me, so I made an updated version that includes some formatting changes so it adheres to Drupal's coding standards.