MDL-72289 output: allow customised inplace editable icon for editing.

Add optional argument to allow it to be defined by caller, and set
the default icon for `select` type as appropriate.
This commit is contained in:
Paul Holden
2021-08-31 11:37:02 +01:00
parent 206023c15f
commit dcc130c7cf
5 changed files with 28 additions and 3 deletions
+1 -1
View File
@@ -736,7 +736,7 @@ class pix_icon implements renderable, templatable {
return [
'key' => $this->pix,
'component' => $this->component,
'title' => $title
'title' => (string) $title,
];
}
}