Skip to content
Snippets Groups Projects

3503934-fixed Route update.theme_install does not exist

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -486,7 +486,7 @@ class ExtraLinks extends DeriverBase implements ContainerDeriverInterface {
// If module Update Manager is enabled.
if ($this->moduleHandler->moduleExists('update')) {
if (version_compare(\Drupal::VERSION, '11.0.0', '<')) {
if (version_compare(\Drupal::VERSION, '10.4.0', '<')) {
$links['update.module_install'] = [
'title' => $this->t('Install new module'),
'route_name' => 'update.module_install',
@@ -498,7 +498,7 @@ class ExtraLinks extends DeriverBase implements ContainerDeriverInterface {
'route_name' => 'update.module_update',
'parent' => 'system.modules_list',
] + $base_plugin_definition;
if (version_compare(\Drupal::VERSION, '11.0.0', '<')) {
if (version_compare(\Drupal::VERSION, '10.4.0', '<')) {
$links['update.theme_install'] = [
'title' => $this->t('Install new theme'),
'route_name' => 'update.theme_install',
Loading