Skip to content

Commit

Permalink
Use FileUrlGeneratorInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
seth-shaw-asu authored Nov 20, 2023
1 parent 4630439 commit 7cedd93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin/Field/FieldFormatter/IslandoraImageFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\File\FileUrlGenerator;
use Drupal\Core\File\FileUrlGeneratorInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter;
use Drupal\islandora\IslandoraUtils;
Expand Down Expand Up @@ -71,7 +71,7 @@ public function __construct(
AccountInterface $current_user,
EntityStorageInterface $image_style_storage,
IslandoraUtils $utils,
FileUrlGenerator $file_url_generator
FileUrlGeneratorInterface $file_url_generator
) {
parent::__construct(
$plugin_id,
Expand Down

0 comments on commit 7cedd93

Please sign in to comment.