Capabilities/moodle/legacy:student
From MoodleDocs
- This is implemented for backward compatibility. It is flag to tell Moodle that this role is a "student" role. It is not required to set any legacy flags.
Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Capabilities/moodle/legacy:student.