Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ The following rules are readily available as part of Moodle core:

## File structure

Quiz access rule sub-plugins are located in the `/mod/quiz/accessrule` directory. A plugin should not include any custom files outside of it's own plugin folder.
Quiz access rule sub-plugins are located in the `/public/mod/quiz/accessrule` directory. A plugin should not include any custom files outside of it's own plugin folder.

Each plugin is in a separate subdirectory and consists of a number of mandatory files and any other files the developer is going to use.

<details>
<summary>View an example directory layout for the `quizaccess_delaybetweenattempts` plugin.</summary>

```console
mod/quiz/accessrule/delaybetweenattempts
public/mod/quiz/accessrule/delaybetweenattempts
├── classes
│   └── privacy
│   └── provider.php
Expand Down