MDL-67585 core_course: add hook get_all_content_items