diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc index 81fa6af..59a29b9 100644 --- a/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -229,8 +229,13 @@ function theme_system_modules_details($variables) { // Add the module label and expand/collapse functionality. $id = Html::getUniqueId('module-' . $key); - $col2 = ''; - $row[] = array('class' => array('module'), 'data' => SafeMarkup::set($col2)); + $module_name = drupal_render($module['name']); + $col2 = SafeMarkup::format( + '', + ['@id' => $id, + '@enableid' => $module['enable']['#id'], + '@modulename' => $module_name]); + $row[] = array('class' => array('module'), 'data' => $col2); // Add the description, along with any modules it requires. $description = '';