diff -u b/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc --- b/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -182,9 +182,9 @@ * following elements: * - name: The name of the module. * - enable: A checkbox for enabling the module. - * - description: (optional) A description of the module. - * - version: (optional) The version of the module. - * - links: (optional) Administration links provided by the module. + * - description: A description of the module. + * - version: The version of the module. + * - links: Administration links provided by the module. * - #requires: A list of modules that the project requires. * - #required_by: A list of modules that require the project. * - #attributes: A list of attributes for the module wrapper. @@ -212,10 +212,6 @@ $module['id'] = $id; $module['enable_id'] = $module['enable']['#id']; $module['machine_name'] = $key; - if (empty($module['version']['#markup'])) { - unset($module['version']); - } - $module['requires'] = array_filter($module['#requires']); $module['required_by'] = array_filter($module['#required_by']); diff -u b/core/modules/system/templates/system-modules-details.html.twig b/core/modules/system/templates/system-modules-details.html.twig --- b/core/modules/system/templates/system-modules-details.html.twig +++ b/core/modules/system/templates/system-modules-details.html.twig @@ -18,10 +18,10 @@ * - enable_id: A unique id for interacting with the checkbox element. * - description: The description of the module. * - machine_name: The module's machine name. - * - version: (optional) Information about the module version. - * - requires: (optional) A list of modules that this module requires. - * - required_by: (optional) A list of modules that require this module. - * - links: (optional) A list of administration links provided by the module. + * - version: Information about the module version. + * - requires: A list of modules that this module requires. + * - required_by: A list of modules that require this module. + * - links: A list of administration links provided by the module. * * @see template_preprocess_system_modules_details() *