'version' =>
$app->
getMetadata()->
getVersion(),
'latestVersion' =>
$app->
getMetadata()->
getVersion(),
'iconRaw' =>
$icon ?
base64_encode($icon) : null,
'installedAt' => null,
'active' => false,
'type' => ExtensionStruct::EXTENSION_TYPE_APP,
'isTheme' =>
is_file($app->
getPath() . '/Resources/theme.json'
),
'privacyPolicyExtension' =>
isset($appArray['privacyPolicyExtensions'
]) ?
$this->
getTranslationFromArray($appArray['privacyPolicyExtensions'
],
$language, 'en-GB'
) : '',
'privacyPolicyLink' =>
$app->
getMetadata()->
getPrivacy(),
];
$collection->
set($name,
$this->
loadFromArray($context,
$row,
$language));
} return $collection;
} /**
* @param array<string, mixed> $data
*
* @return array<string, StoreCollection|mixed|null>
*/
private function prepareArrayData(array
$data, ?string
$locale): array
{