We recently committed https://github.com/backdrop/backdrop-issues/issues/3764.
But belated request/idea: working on contexts PR and I want to use this to autocomplete, but filtered by entity type. Currently once you start typing it shows you every piece of content/term/whatever.
But what if we changed the path to path-autocomplete/%
and passed the type of content to the path_autocomplete($string = '', $type = NULL)
function to filter by that type? Or even path-autocomplete/%/%
and path_autocomplete($string = '', $type = NULL, $exclude = FALSE)
to allow a negative filter.
In a form you could set '#autocomplete_path' => 'path-autocomplete/node
to get only nodes, or, as in the case I'd like to accomplish, '#autocomplete_path' => 'path-autocomplete/' . $context->type.
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