By nicxvan on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.5.x
Introduced in version:
11.5.0
Issue links:
Description:
UpdateRegistry now expects a MemoryCacheInterface as the 6th parameter.
Before:
public function __construct(
protected $root,
protected $sitePath,
array $module_list,
protected KeyValueStoreInterface $keyValue,
ThemeHandlerInterface $theme_handler,
protected string $updateType = 'post_update',
)
After:
public function __construct(
protected $root,
protected $sitePath,
array $module_list,
protected KeyValueStoreInterface $keyValue,
ThemeHandlerInterface $theme_handler,
MemoryCacheInterface|string|null $memoryCache = NULL,
protected string $updateType = 'post_update',
)
This change likely only affects Drush or similar projects that directly interact with the update system functionality.
Impacts:
Module developers