Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
feat: [SD-29] upgrade to d10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-gao committed Aug 23, 2024
1 parent 062f3be commit cf0a6d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
5 changes: 3 additions & 2 deletions src/AliasManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}

Expand Down

0 comments on commit cf0a6d2

Please sign in to comment.