MDL-68636 core_contentbank: Changing get_icon function

This commit is contained in:
Amaia Anabitarte 2020-05-06 10:11:35 +02:00
parent f9830e456a
commit 6fc3477cc5
7 changed files with 81 additions and 16 deletions

View file

@ -86,7 +86,7 @@ class bankcontent implements renderable, templatable {
$contentdata[] = array(
'name' => $name,
'link' => $contenttype->get_view_url($content),
'icon' => $contenttype->get_icon($name)
'icon' => $contenttype->get_icon($content)
);
}
$data->contents = $contentdata;