mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-68854 repository_contentbank: add size to content nodes
This commit is contained in:
parent
68fd8d8bdf
commit
d4af0f4a74
@ -106,6 +106,7 @@ class helper {
|
||||
'author' => $file->get_author(),
|
||||
'license' => $file->get_license(),
|
||||
'isref' => $file->is_external_file(),
|
||||
'size' => $file->get_filesize(),
|
||||
'source' => $encodedpath,
|
||||
'icon' => $OUTPUT->image_url(file_file_icon($file, 24))->out(false),
|
||||
'thumbnail' => $OUTPUT->image_url(file_file_icon($file, 90))->out(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user