- Merge request !35Issue #3315164: Add support for File entities and full Views integration → (Open) created by codebymikey
- last update
about 2 years ago Composer require-dev failure Use the appropriate field definition label for some simpler base field definitions.
Following the #2955078: Track file/image fields → issue being merged, the newly introduced
File field
plugin will need addressing so that it doesn't include duplicate entity usage references. It'd still be nice to include the ability to exclude "Thumbnails" from being referenced when the "Track referencing base fields" is enabled.Would this also make it so that files will be marked temporary when the Entity Usage module says that there are no more uses? That's what I think should happen if the site has
$config['file.settings']['make_unused_managed_files_temporary'] = TRUE;
- 🇩🇪Germany uniquename Berlin
Sorry, ignore the last comment. something went wrong with the reroll... Here is the correct one.
@solideogloria
Would this also make it so that files will be marked temporary when the Entity Usage module says that there are no more uses? That's what I think should happen if the site has $config['file.settings']['make_unused_managed_files_temporary'] = TRUE;
Not currently, but it could theretically be easily added as a File entity pre-delete hook or equivalent, that does the appropriate checks for it.
However given how it's a major change in behaviour from how it previously worked, I'd recommend we add this functionality as a follow-up or separate issue hidden behind a configuration or something since the accidental loss of data is something we'd want to avoid where possible.