Skip to content

Commit

Permalink
[docs] document FEATURE_COMPLETION
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranrecio committed Sep 10, 2024
1 parent 56529b9 commit c6469a2
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 c6469a2

Please sign in to comment.