Describe your issue or idea
In many places in Backdrop we use title callbacks in hook_menu() to set the page titles, while in others we use backdrop_set_title()
. The title callback approach has some advantages: it affects breadcrumbs and menu links for example. While the backdrop_set_title() approach is convenient it only affects the current page.
While attempting to use title callbacks instead of backdrop_set_title()
, I found that it was not possible to use the t() function and return text that used the placeholder replacement (i.e. t('Edit %title')
). Instead you end up with a title that displays with the HTML escaped, such as this:
It would be a good thing if we could make it so that title callbacks could provide already-escaped text, so that we could include HTML in the page titles, as is possible with backdrop_set_title()
.
Recent comments
Thanks! I tested PayPal WPS (since I also use it in my Drupal 7 Commerce shop). With the PayPal server SANDBOX mode (no real payment transaction, just simulated). And everything...
Commerce shop system from Drupal
Peter, I've done an initial port of Commerce PayPal. While I haven't tested it, I think it should work, as the module is not too complex. https://github.com/backdrop-contrib/...
Commerce shop system from Drupal
Glad you finally found it! Someone really needs to port commerce_paypal.
Commerce shop system from Drupal