Transfer Content Ownership To Team Folder Owner

This commit is contained in:
Čarodej
2021-11-04 17:37:25 +01:00
parent 8d8fdbf9ba
commit d600ee7830
9 changed files with 189 additions and 14 deletions

View File

@@ -599,6 +599,17 @@ if (! function_exists('get_file_type')) {
}
}
if (! function_exists('get_thumbnail_file_list')) {
/**
* Get list of image thumbnails
*/
function get_thumbnail_file_list(string $basename): Collection
{
return collect(config('vuefilemanager.image_sizes'))
->map(fn ($item) => $item['name'] . '-' . $basename);
}
}
if (! function_exists('map_language_translations')) {
/**
* It map language translations as language key and language value