'id' =>
$id,
'parentThemeId' =>
$parentTheme->
getId(),
'name' =>
$name,
'technicalName' =>
$name,
'createdAt'
=> (new \
DateTimeImmutable())->
format(Defaults::STORAGE_DATE_TIME_FORMAT
),
'configValues' =>
$parentTheme->
getConfigValues(),
'baseConfig' =>
array_merge($parentTheme->
getBaseConfig() ??
[],
$config->
getThemeConfig() ??
[]),
'description' =>
$parentTheme->
getDescription(),
'author' =>
$parentTheme->
getAuthor(),
'labels' =>
$parentTheme->
getLabels(),
'customFields' =>
$parentTheme->
getCustomFields(),
'previewMediaId' =>
$parentTheme->
getPreviewMediaId(),
'active' => true,
'salesChannels' =>
[],
],
],
$this->context
);
return $name;
} /**
* @param array<string, mixed> $customConfig
* @param array<int, array<string, string>> $saleschannels
*/