DataProviderNode: use the language code#1007
DataProviderNode: use the language code#1007vermario wants to merge 1 commit intoRESTful-Drupal:7.x-2.xfrom
Conversation
…spect the language code.
|
I'm hesitant to merge this since I can see the opposite argument for this feature. |
|
hi! First of all, great module! I understand the problem, and there are 2 other solutions that I tried to get to what I need:
At the moment I am using this second solution, instead of a patch of this pull request, because I also needed other custom stuff in "my" types of nodes. So, this is achievable with the current module, if you are willing to code a bit yourself... |
|
Thanks for documenting this. It may be handy for other people in your same scenario. |
Without this, endpoints exposing nodes will return nodes of all languages, even if the endpoint is called with a language prefix for example.
This small change allows to filter the nodes by the language prefix, which is what we need in our use case, and also it seems some other people in the issue queue: #980 for example.
Should we merge this then?