diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc index 704b2dc..6d9ecac 100644 --- a/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -371,6 +371,8 @@ function template_preprocess_system_themes_page(&$variables) { $current_theme['incompatible'] = t('This theme requires the theme engine @theme_engine to operate correctly.', array('@theme_engine' => $theme->info['engine'])); } + $current_theme['requires'] = $theme->requires; + // Build operation links. $current_theme['operations'] = array( '#theme' => 'links', diff --git a/core/modules/system/templates/system-themes-page.html.twig b/core/modules/system/templates/system-themes-page.html.twig index 6e65d76..d518291 100644 --- a/core/modules/system/templates/system-themes-page.html.twig +++ b/core/modules/system/templates/system-themes-page.html.twig @@ -66,6 +66,9 @@ {% if theme.incompatible %}
{{ theme.incompatible }}
{% else %} + {% if theme.requires %} + Module dependencies: {{ theme.requires | |keys | safe_join(', ')}} + {% endif %} {{ theme.operations }} {% endif %} diff --git a/core/themes/stable/templates/admin/system-themes-page.html.twig b/core/themes/stable/templates/admin/system-themes-page.html.twig index 5a23f1a..333278f 100644 --- a/core/themes/stable/templates/admin/system-themes-page.html.twig +++ b/core/themes/stable/templates/admin/system-themes-page.html.twig @@ -64,6 +64,9 @@ {% if theme.incompatible %}
{{ theme.incompatible }}
{% else %} + {% if theme.requires %} + Module dependencies: {{ theme.requires | keys | safe_join(', ')}} + {% endif %} {{ theme.operations }} {% endif %}