HFP-1905 Allow metadata as keyword for subcontent
parent
c589285351
commit
b28624ba8e
|
@ -3736,7 +3736,7 @@ class H5PContentValidator {
|
|||
'type' => 'group',
|
||||
'fields' => $library['semantics'],
|
||||
), FALSE);
|
||||
$validKeys = array('library', 'params', 'subContentId');
|
||||
$validKeys = array('library', 'params', 'subContentId', 'metadata');
|
||||
if (isset($semantics->extraAttributes)) {
|
||||
$validKeys = array_merge($validKeys, $semantics->extraAttributes);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue