Closed (fixed)
Project:
DvG StUF-BG
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2019 at 15:19 UTC
Updated:
6 Feb 2019 at 13:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ralphvdhoudt commentedComment #3
paulvandenburg commentedFunctionally it looks good. However I have 2 issues:
In the api.php file the function documentation should describe what de hook does and/or what you can use it for.
Having separate hooks for each api call type as well as for wsdl + method seems wasteful.
I doubt there will ever be a case where only either the wsdl or method is changed instead of both.
I also suggest grouping all the new hooks together to just 1 api call alter hook and passing the api call type as a parameter.
I've made both changes in the attached path.
Comment #4
tvoesenek commentedI agree with Paul on this, patch #3 looks good.
Comment #6
paulvandenburg commented