Browse Source

Address PHPCS error.

pull/965/head
Alexander O'Neill 2 years ago
parent
commit
8837c975f2
  1. 2
      modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php

2
modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php

@ -229,7 +229,7 @@ class IIIFManifest extends StylePluginBase {
// Create the IIIF URL for this file
// Visiting $iiif_url will resolve to the info.json for the image.
if ($this->iiifConfig->get('use_relative_paths')) {
$file_url = ltrim($image->entity->createFileUrl(TRUE), '/');
$file_url = ltrim($image->entity->createFileUrl(TRUE), '/');
}
else {
$file_url = $image->entity->createFileUrl(FALSE);

Loading…
Cancel
Save