Skip to content

Commit

Permalink
Merge pull request #1118 from ferranrecio/MDL-83008-main
Browse files Browse the repository at this point in the history
[docs] document FEATURE_COMPLETION
  • Loading branch information
HuongNV13 authored Sep 12, 2024
2 parents 56529b9 + c6469a2 commit 8bc342c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/apis/plugintypes/mod/_files/lib_description.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Each feature is identified by a constant, which is defined in the `lib
- `FEATURE_GROUPS` and `FEATURE_GROUPINGS`: The activity module supports groups and groupings.
- `FEATURE_SHOW_DESCRIPTION`: The activity module supports showing the description on the course page.
- `FEATURE_QUICKCREATE`: The activity `[modname]_add_instance()` function is able to create an instance without showing a form using the default settings. It is used by the `core_courseformat_create_module` webservice to know which activities are compatible. If this feature is supported, the activity module should provide a `quickcreatename` string in the language file that will be used as the name of the instance created.
- `FEATURE_COMPLETION`: The activity module supports activity completion. For now this feature only affects the bulk completion settings. However, in the future ([MDL-83027](https://tracker.moodle.org/browse/MDL-83027)) activities can set to false to disable all completion settings.

<details>
<summary>View example</summary>
Expand Down

0 comments on commit 8bc342c

Please sign in to comment.