Browse Source

Update islandora.module

pull/822/head
dannylamb 5 years ago committed by GitHub
parent
commit
6709599f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      islandora.module

2
islandora.module

@ -476,7 +476,7 @@ function islandora_entity_view(array &$build, EntityInterface $entity, EntityVie
$media_source_service = \Drupal::service('islandora.media_source_service');
$source_file = $media_source_service->getSourceFile($entity);
$uri = $source_file->getFileUri();
$scheme = \Drupal::service('file_system')->uriScheme($uri);
$scheme = \Drupal::service('stream_wrapper_manager')->getScheme($uri);
$flysystem_config = Settings::get('flysystem');
// Use the file's path if it's in fedora.

Loading…
Cancel
Save