$name = $data['elements']['name'][''];
}
- $ignoreMissingContent = false;
switch ($boxType) {
/** @noinspection PhpMissingBreakStatementInspection */
case 'system':
throw new SystemException("Unknown object type '{$data['elements']['objectType']}' for 'system'-type box '{$identifier}'");
}
- $ignoreMissingContent = true;
+ $isMultilingual = true;
// fallthrough
case 'text':
case 'tpl':
if (empty($data['elements']['content'])) {
- if ($ignoreMissingContent) {
+ if ($boxType === 'system') {
break;
}