Problem/Motivation
As per File Entity API:
https://api.drupal.org/api/drupal/core%21modules%21file%21src%21Entity%2...
File entities returning the URL to the physical file in File::url() is deprecated, use $file->createFileUrl() instead. See https://www.drupal.org/node/3019830
Proposed resolution
We will need to replace all:
$file->url();
to:
$file->createFileUrl()
Comments
Comment #3
mahmoud-zayed commentedAdded to 1.3.1
Comment #5
mahmoud-zayed commentedComment #6
mindhunter75 commentedYou're the best Mahmoud-Zayed, the latest module works great now in Drupal9!!! Many thanks and kind regards.