// This gives us only a list of types provided by plugins
$types =
(new TypeReader())->
getTypes($installedPlugins,
$this->pluginFolders,
$this->fieldAlias
);
$typeProvider =
new TypeProvider($types,
$this->typeBuilder
);
$types =
$typeProvider->
getTypes();
$this->
addCustomUserTypes($typeProvider);
$this->
updateContentTypesTable($types);
$this->
cleanup($types);
$this->synchronizerService->
setTypeProvider($typeProvider);
return $this->synchronizerService->
sync($destructive);
} /**
* @param array<string, Type> $types
*/
private function updateContentTypesTable(array
$types): void
{ $dbal =
$this->connection;