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:
@@ -736,7 +736,7 @@ class pix_icon implements renderable, templatable {
|
||||
return [
|
||||
'key' => $this->pix,
|
||||
'component' => $this->component,
|
||||
'title' => $title
|
||||
'title' => (string) $title,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user