From 632029057971d66375e02660ca7afbada1177653 Mon Sep 17 00:00:00 2001 From: Vincent Gao Date: Fri, 23 Aug 2024 14:13:29 +1000 Subject: [PATCH] feat: [SD-29] test d10.3 --- composer.json | 4 ++-- src/AliasManager.php | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index ed51722c..f75868ac 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,8 @@ } }, "require": { - "dpc-sdp/tide_core": "dev-reference", - "dpc-sdp/tide_media": "dev-reference", + "dpc-sdp/tide_core": "dev-d10.3-test as dev-reference", + "dpc-sdp/tide_media": "dev-d10.3-test as dev-reference", "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 38e04df6..b11506c8 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; }