I'm using the autocompletesuggestions function, but i don't really understand how it works.
At the begining, I thought that "$key_user" should contain the complete words of the request, and "$incomplete_key" the incomplete word.
But i noticed that some arguments are not used to generate the result like "$search" and "$incomplete_key".
So i'm a little lost, should "$key_user" contain the complete user request ?
Useless arguments and variables should'nt be removed ?
Original issue: https://www.drupal.org/node/2324619
Hi,
I'm using the autocompletesuggestions function, but i don't really understand how it works.
At the begining, I thought that "$key_user" should contain the complete words of the request, and "$incomplete_key" the incomplete word.
But i noticed that some arguments are not used to generate the result like "$search" and "$incomplete_key".
So i'm a little lost, should "$key_user" contain the complete user request ?
Useless arguments and variables should'nt be removed ?
Thanks in advance.