MDL-74785 mod_scorm: Add scorm content filearea to global search.

This commit is contained in:
Dan Marsden
2022-05-18 19:47:44 +12:00
parent 5e5e12e063
commit b95d2b94a5
+9
View File
@@ -43,4 +43,13 @@ class activity extends \core_search\base_activity {
public function uses_file_indexing() {
return true;
}
/**
* Return the fileareas that should be indexed.
*
* @return array
*/
public function get_search_fileareas() {
return ['intro', 'content'];
}
}