Problem/Motivation
The current paths to discover xray plugins are:
- Plugin/tasks
- Plugin/groups
This means that if module wants to add a new Report it should be placed at:
- modulename/src/Plugin/groups
- modulename/src/Plugin/tasks
But the right place would be:
- modulename/src/Plugin/xray_audit/groups
- modulename/src/Plugin/xray_audit/tasks
Proposed resolution
Change the routes.
Remaining tasks
Do it.
User interface changes
None.
API changes
Modules implementing xray audit reports should change its route. However, because this module is ver new it is unlikely there are already modules suing this.
Issue fork xray_audit-3355456
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lpeidro commentedThanks @tunic, I start working in this issue.
Comment #4
lpeidro commentedThe routes of the plugins files have been changed properly.
After update the code it is needed to clear the caches to regenerate the cache with the new roots.
Ready for testing.
Comment #5
Manoj Raj.R commentedReviewed and looks good to me.
Can be moved to RTBC.
Comment #6
tunicWorks ok, I've created a dummy report in other module and it is located and displayed o the Xray interface.
Comment #9
tunicComment #10
tunicComment #11
lpeidro commented