Interface: BackupContentsSection
Defined in: areas/backup/contents.ts:34
A section a backup holds (the original site's ids).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id | number | - | areas/backup/contents.ts:35 |
name? | string | The name given to it; none means the course format's default ("New section", "Topic 2"). | areas/backup/contents.ts:39 |
number? | number | Its 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? | number | For a subsection (Moodle 5), the subsection activity that holds it. | areas/backup/contents.ts:44 |
summary? | string | Its description (HTML, with Moodle's backup placeholders for files and links). | areas/backup/contents.ts:41 |
visible? | boolean | - | areas/backup/contents.ts:42 |