When a file is attached to a node via a field, some handy features appear. A description field, for example, that allows users to hide the ugly file name and instead link some helpful description text.
Unfortunately, when building a view of all files, this helpful description text is lost, since it's not associated with the file, and instead is associated only with the node.
As we move file_entity into core I propose we move the file_description column from the field table to the file_managed table. Or, perhaps this could be our first default field on the file entity!
Either way, the end result should enable a user to build a view of PDFs that don't show the ugly file name but instead the pretty text that was provided for the link to the file, without needing to add a join to a field data table.
Recent comments
Steve - long story short - this is a legacy site that was ported from Drupal 7 and had some tinkering done to it so that Brilliant Gallery code was interpreted. This avoided rewriting a few...
Question re paragraphs
Hi yorkshirepudding - once again you leap to my rescue! I thought I had it sussed after reading your reply but I found that creating a new field called Description, hiding the label and...
Question re paragraphs
Hi Ian..., Can you explain why you are using Paragraphs for this? Is it because you have a specific requirement that is only filled by Paragraphs? There are other ways to create an...
Question re paragraphs