I want to know the checks that are required by the moodle in order to submit the assignment.
Moodle contains restrictions in context_module, context_course etc. also if the user is enrolled to that course. Many other checks should be performed. I am new to moodle and getting confused with what all checks should be done.
Please help me out with this.