mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
![]() The method can_edit_content() now supports more scenarios where the H5P content can be edited: - Instead of supporting only mod_h5pactivity, now it supports any mod or block when the user has the addinstance capability. - If the component implements the can_edit_content method in the h5p\canedit class and it returns true. For instance, the mod_forum implements it and return true when filearea is post, if the user can edit the post where the H5P is. |
||
---|---|---|
.. | ||
behat | ||
fixtures | ||
generator | ||
local/library | ||
api_test.php | ||
coverage.php | ||
editor_ajax_test.php | ||
editor_framework_test.php | ||
editor_test.php | ||
event_h5p_deleted_test.php | ||
event_h5p_viewed_test.php | ||
external_test.php | ||
framework_test.php | ||
generator_test.php | ||
h5p_core_test.php | ||
h5p_file_storage_test.php | ||
helper_test.php |