Unverified Commit 866f2d6c authored by Alex Pott's avatar Alex Pott
Browse files

fix: #3586099 SystemAdminThemePreprocess::preprocessSystemModulesDetails()...

fix: #3586099 SystemAdminThemePreprocess::preprocessSystemModulesDetails() shows @theme instead of the theme name that depends on a module

By: avpaderno
By: smustgrave
parent d2f42dad
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ public function preprocessSystemModulesDetails(array &$variables): void {
      foreach ($theme->info['dependencies'] as $dependency) {
        if (isset($form[$dependency])) {
          // Add themes to the module's required by list.
          $form[$dependency]['#required_by'][] = $theme->status ? $this->t('@theme', ['@theme (theme)' => $theme->info['name']]) : $this->t('@theme (theme) (<span class="admin-disabled">disabled</span>)', ['@theme' => $theme->info['name']]);
          $form[$dependency]['#required_by'][] = $theme->status ? $this->t('@theme (theme)', ['@theme' => $theme->info['name']]) : $this->t('@theme (theme) (<span class="admin-disabled">disabled</span>)', ['@theme' => $theme->info['name']]);
        }
      }
    }