Skip to main content

Interface: BackupContentsSection

Defined in: areas/backup/contents.ts:34

A section a backup holds (the original site's ids).

Properties​

PropertyTypeDescriptionDefined in
idnumber-areas/backup/contents.ts:35
name?stringThe name given to it; none means the course format's default ("New section", "Topic 2").areas/backup/contents.ts:39
number?numberIts number in the original course: a restore merged into a course puts it into the section with that number.areas/backup/contents.ts:37
parentActivityId?numberFor a subsection (Moodle 5), the subsection activity that holds it.areas/backup/contents.ts:44
summary?stringIts description (HTML, with Moodle's backup placeholders for files and links).areas/backup/contents.ts:41
visible?boolean-areas/backup/contents.ts:42