aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DirectEditing
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/DirectEditing')
-rw-r--r--lib/private/DirectEditing/Manager.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/DirectEditing/Manager.php b/lib/private/DirectEditing/Manager.php
index 085a7de557a..353faedf7eb 100644
--- a/lib/private/DirectEditing/Manager.php
+++ b/lib/private/DirectEditing/Manager.php
@@ -88,7 +88,9 @@ class Manager implements IManager {
$templates = $creator->getTemplates();
}
}
- return $templates;
+ $return = [];
+ $return['templates'] = $templates;
+ return $return;
}
public function create(string $path, string $editorId, string $creatorId, $templateId = null): string {