diff --git a/composer.json b/composer.json index fbead45..482306c 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,8 @@ "type": "drupal-module", "license": "GPL-2.0-or-later", "require": { - "dpc-sdp/tide_core": "^4.0.0", - "dpc-sdp/tide_media": "^4.0.0", + "dpc-sdp/tide_core": "dev-feature/SD-29-Update-tide-modules-to-be-compatible-10.3 as 4.1.4", + "dpc-sdp/tide_media": "dev-feature/SD-29-Upgrade-to-d10.3 as 4.1.0", "drupal/create_menus_permission": "dev-drupal_10_compatibility", "drupal/key_value_field": "^1.3" }, diff --git a/src/AliasManager.php b/src/AliasManager.php index 38e04df..b11506c 100644 --- a/src/AliasManager.php +++ b/src/AliasManager.php @@ -2,6 +2,7 @@ namespace Drupal\tide_site; +use Drupal\Component\Datetime\TimeInterface; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Language\LanguageManagerInterface; use Drupal\path_alias\AliasManager as CoreAliasManager; @@ -25,8 +26,8 @@ class AliasManager extends CoreAliasManager { /** * {@inheritdoc} */ - public function __construct(AliasRepositoryInterface $repository, AliasWhitelistInterface $whitelist, LanguageManagerInterface $language_manager, CacheBackendInterface $cache, AliasStorageHelper $alias_helper) { - parent::__construct($repository, $whitelist, $language_manager, $cache); + public function __construct(AliasRepositoryInterface $repository, AliasWhitelistInterface $whitelist, LanguageManagerInterface $language_manager, CacheBackendInterface $cache, protected ?TimeInterface $time = NULL, AliasStorageHelper $alias_helper) { + parent::__construct($repository, $whitelist, $language_manager, $cache, $time); $this->aliasHelper = $alias_helper; }