Browse Source

Merge pull request #825 from asulibraries/filesystem_fix

fix for filesysystem interface
pull/828/head
Jordan Dukart 4 years ago committed by GitHub
parent
commit
cb52ddd902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/build-8.x-1.x.yml
  2. 4
      modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php

2
.github/workflows/build-8.x-1.x.yml

@ -23,7 +23,7 @@ jobs:
matrix:
php-versions: ["7.3", "7.4"]
test-suite: ["kernel", "functional", "functional-javascript"]
drupal-version: ["8.9.11", "9.1.1"]
drupal-version: ["8.9.11", "9.1.5"]
name: PHP ${{ matrix.php-versions }} drupal ${{ matrix.drupal-version }} test-suite ${{ matrix.test-suite }}

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

@ -10,7 +10,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Serializer\SerializerInterface;
use Symfony\Component\HttpFoundation\Request;
use Drupal\Core\Config\ImmutableConfig;
use Drupal\Core\File\FileSystem;
use Drupal\Core\File\FileSystemInterface;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\ConnectException;
@ -85,7 +85,7 @@ class IIIFManifest extends StylePluginBase {
/**
* {@inheritdoc}
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition, SerializerInterface $serializer, Request $request, ImmutableConfig $iiif_config, FileSystem $file_system, Client $http_client, MessengerInterface $messenger) {
public function __construct(array $configuration, $plugin_id, $plugin_definition, SerializerInterface $serializer, Request $request, ImmutableConfig $iiif_config, FileSystemInterface $file_system, Client $http_client, MessengerInterface $messenger) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->serializer = $serializer;

Loading…
Cancel
Save