I am adding mobile support for a custom-developed plugin.
In the main view (called from method mobile_course_view) I have a list of records and would like to add a link to attempt review to each of them.
I tried using the core-site-plugins-new-content directive like this:
<button ion-button block color="light" core-site-plugins-new-content title="Klikni" component="mod_quiz" method="get_attempt_review">Click here</button>
But when I click on the button, I get the following error: Missing method in \mod_quiz\output\mobile
How I can create a link/load content from core modules? I believe I will have to include some additional arguments with [args], but for now I would like to successfully call the correspondent view/service.
I would appreciate any help or pointers.