MDL-67585 core_course: add hook get_all_content_items
authorJake Dallimore <jake@moodle.com>
Wed, 29 Jan 2020 03:52:46 +0000 (11:52 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 20 Feb 2020 03:42:22 +0000 (11:42 +0800)
commit57dfcf951d4285f0020aa6c754c08d3e47685d8d
treeac24fa4c758eea40d5fcf96edb5a1d753427f647
parent520add19d6c8b7f1cd69c37869acc88f6608d426
MDL-67585 core_course: add hook get_all_content_items

Returns all content items which are provided by the plugin, irrespective
of whether or not a user can see an item in a particular course. This is
used to generate a global list of content items, allowing for admin
level features to be added.
course/classes/local/repository/caching_content_item_readonly_repository.php
course/classes/local/repository/content_item_readonly_repository.php
course/classes/local/repository/content_item_readonly_repository_interface.php
course/classes/local/service/content_item_service.php
course/tests/content_item_readonly_repository_test.php
course/tests/services_content_item_service_test.php
mod/lti/lib.php
mod/lti/tests/lib_test.php