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