From 64c8090d13cd72bdeab9f1d8af224e9c01ceed21 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Mon, 24 Sep 2018 10:18:13 +0200 Subject: [PATCH] Add storing of content type title in metadata --- h5p.classes.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index 668d6fa..0fff359 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -4507,7 +4507,12 @@ class H5PContentValidator { 'label' => $this->h5pF->t('Author comments'), 'description' => $this->h5pF->t('Comments for the editor of the content (This text will not be published as a part of copyright info)'), 'optional' => TRUE - ) + ), + (object) array( + 'name' => 'contentType', + 'type' => 'text', + 'widget' => 'none' + ), ); return $semantics;