In an effort to encourage site builders to update their codebase via Composer (the recommended way to manage dependencies, required for many modules to work properly), the direct “Download” links are now removed from the Available Updates report at admin/reports/update
. The project release page will still be linked in 2 places for each available update, the version number and the "Release notes" link. This page recommends the Composer method of updating but also provides the links to the archive files with the following warning:
Downloads are for manual installation, which is not recommended when using Drupal 8 or later.
The links are removed from the default update-version.html.twig
Twig template provided by the Update Manager (core/modules/update/templates/update-version.html.twig
, used by Seven) and the Claro-specific override template (core/themes/claro/templates/admin/update-version.html.twig
).
The update-version.html.twig
Twig template in both Stable and Stable9 remains unchanged and the download links are still present. Anyone that has built an admin theme based on stable
or stable9
is encouraged to override this template and remove these lines:
{% if version.core_compatible is not defined or version.core_compatible %}
<li class="project-update__download-link">
<a href="{{ version.download_link }}">{{ 'Download'|t }}</a>
</li>
{% endif %}