|
|
@ -13,9 +13,8 @@ use Drupal\islandora\Flysystem\Adapter\FedoraAdapter; |
|
|
|
use Drupal\jwt\Authentication\Provider\JwtAuth; |
|
|
|
use Drupal\jwt\Authentication\Provider\JwtAuth; |
|
|
|
use GuzzleHttp\Exception\ConnectException; |
|
|
|
use GuzzleHttp\Exception\ConnectException; |
|
|
|
use GuzzleHttp\HandlerStack; |
|
|
|
use GuzzleHttp\HandlerStack; |
|
|
|
use GuzzleHttp\Client; |
|
|
|
|
|
|
|
use Islandora\Chullo\IFedoraApi; |
|
|
|
|
|
|
|
use Islandora\Chullo\FedoraApi; |
|
|
|
use Islandora\Chullo\FedoraApi; |
|
|
|
|
|
|
|
use Islandora\Chullo\IFedoraApi; |
|
|
|
use Psr\Http\Message\RequestInterface; |
|
|
|
use Psr\Http\Message\RequestInterface; |
|
|
|
use Symfony\Component\DependencyInjection\ContainerInterface; |
|
|
|
use Symfony\Component\DependencyInjection\ContainerInterface; |
|
|
|
use Symfony\Component\Mime\MimeTypeGuesserInterface; |
|
|
|
use Symfony\Component\Mime\MimeTypeGuesserInterface; |
|
|
@ -50,11 +49,11 @@ class Fedora implements FlysystemPluginInterface, ContainerFactoryPluginInterfac |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected $languageManager; |
|
|
|
protected $languageManager; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Logger. |
|
|
|
* Logger. |
|
|
|
* |
|
|
|
* |
|
|
|
* @var \Drupal\Core\Logger\LoggerChannelInterface |
|
|
|
* @var \Drupal\Core\Logger\LoggerChannelInterface |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected $logger; |
|
|
|
protected $logger; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -67,6 +66,7 @@ class Fedora implements FlysystemPluginInterface, ContainerFactoryPluginInterfac |
|
|
|
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager |
|
|
|
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager |
|
|
|
* Language manager. |
|
|
|
* Language manager. |
|
|
|
* @param \Drupal\Core\Logger\LoggerChannelInterface $logger |
|
|
|
* @param \Drupal\Core\Logger\LoggerChannelInterface $logger |
|
|
|
|
|
|
|
* The fedora adapter logger channel. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function __construct( |
|
|
|
public function __construct( |
|
|
|
IFedoraApi $fedora, |
|
|
|
IFedoraApi $fedora, |
|
|
|