|
|
|
@ -80,7 +80,8 @@ class IslandoraUtils {
|
|
|
|
|
*/ |
|
|
|
|
protected $cache; |
|
|
|
|
|
|
|
|
|
/** Current user. |
|
|
|
|
/** |
|
|
|
|
* Current user. |
|
|
|
|
* |
|
|
|
|
* @var \Drupal\Core\Session\AccountProxyInterface |
|
|
|
|
*/ |
|
|
|
@ -99,9 +100,9 @@ class IslandoraUtils {
|
|
|
|
|
* Flysystem factory. |
|
|
|
|
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager |
|
|
|
|
* Language manager. |
|
|
|
|
* @param \Drupal\Core\Cache\CacheBackendInterface |
|
|
|
|
* @param \Drupal\Core\Cache\CacheBackendInterface $cache |
|
|
|
|
* Cache backend. |
|
|
|
|
* @param \Drupal\Core\Session\AccountProxyInterface |
|
|
|
|
* @param \Drupal\Core\Session\AccountProxyInterface $current_user |
|
|
|
|
* Current user account. |
|
|
|
|
*/ |
|
|
|
|
public function __construct( |
|
|
|
@ -111,7 +112,7 @@ class IslandoraUtils {
|
|
|
|
|
FlysystemFactory $flysystem_factory, |
|
|
|
|
LanguageManagerInterface $language_manager, |
|
|
|
|
CacheBackendInterface $cache, |
|
|
|
|
AccountProxyInterface $currentUser |
|
|
|
|
AccountProxyInterface $current_user |
|
|
|
|
) { |
|
|
|
|
$this->entityTypeManager = $entity_type_manager; |
|
|
|
|
$this->entityFieldManager = $entity_field_manager; |
|
|
|
@ -119,7 +120,7 @@ class IslandoraUtils {
|
|
|
|
|
$this->flysystemFactory = $flysystem_factory; |
|
|
|
|
$this->languageManager = $language_manager; |
|
|
|
|
$this->cache = $cache; |
|
|
|
|
$this->currentUser = $currentUser; |
|
|
|
|
$this->currentUser = $current_user; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|