How to get the File Description programmatically? In Drupal 8, like Drupal 7, you can enable the file description in the file field setting.

But once my file entity is loaded in my preprocess, I don't know how can I get the description value entered for my file.
I've tried (without success) :

$myfileentity-&gt;toArray();
$myfileentity-&gt;get('description');
$myfileentity-&gt;get('description_field');
$myfileentity-&gt;label();


Any Idea ?

Thanks.
The description is stored on the file field, not on the file entity. To access it, use $node-&gt;yourfilefield-&gt;description.