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
It is possible to remove that line manually from the SQL file and it should then import to MySQL fine.
Problem with utf8mb4 Format when importing database
I think people have used bee in MAMP. I've posted in our chat channel to see if anyone can jump in here and help: #Backdrop > Bee @ 💬
Problem with utf8mb4 Format when importing database
Hi Thanks for the quick answer. Looks interesting and hope I can verify that this solves the issue. Not yet sure how I can use the bee tool in my MAMP environment. Cheers, Rolf
Problem with utf8mb4 Format when importing database