mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
Transfer Content Ownership To Team Folder Owner
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user