MDL-85270 output: Export url_select for template.
This commit is contained in:
@@ -208,11 +208,16 @@ class activity_header implements renderable, templatable {
|
||||
);
|
||||
}
|
||||
|
||||
$additionalitems = '';
|
||||
if (!$this->hideoverflow && !is_null($this->additionalnavitems)) {
|
||||
$additionalitems = $this->additionalnavitems->export_for_template($output);
|
||||
}
|
||||
|
||||
return [
|
||||
'title' => $this->title,
|
||||
'description' => $this->description,
|
||||
'completion' => $activityinfo,
|
||||
'additional_items' => $this->hideoverflow ? '' : $this->additionalnavitems,
|
||||
'additional_items' => $additionalitems,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user