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
Hi Mike, try user/login, that should work.
Admin login - help
I wrote a blog post a while back about how the color module works, in case that is helpful. https://www.triplo.co/blog/color-module-backdrop-cms
Color module aggressive search and replace custom css color values
You are asking this question at the right time. Work has been done on the Content Moderation module for Backdrop CMS, but it's still not working fully. We would welcome help getting this...
Workflow module or equivalent?