devdocs
devdocs copied to clipboard
Source of the Moodle Developer Resources and Documentation
There looks to be a typo in the code sample. The function param `element` is overwritten on the first line of the function, but the code then attempts to use...
Fix typo
There is a clear typo - the description indicates this is meant to read 'showDropZone' not 'hideDropZone' (which is documented immediately below).
There was confusion in the developer chat channel around how the context level should be set in. This change will hopefully help make it clear how the context level should...
### What is the URL of the page? https://moodledev.io/docs/5.0/apis/subsystems/access#how-to-define-new-capabilities-in-plugins ### What is the issue with this page? In the dev chat there was a discussion around what `contextlevel` on capabilities...