mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-68636 core_contentbank: Changing get_icon function
This commit is contained in:
parent
f9830e456a
commit
6fc3477cc5
7 changed files with 81 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue