update-version.html.twig
Theme override for the version display of a project.
Available variables:
- attributes: HTML attributes suitable for a container element.
 - title: The title of the project.
 - core_compatibility_details: Render array of core compatibility details.
 - version:  A list of data about the latest released version, containing:
- version: The version number.
 - date: The date of the release.
 - download_link: The URL for the downloadable file.
 - release_link: The URL for the release notes.
 - core_compatible: A flag indicating whether the project is compatible with the currently installed version of Drupal core. This flag is not set for the Drupal core project itself.
 - core_compatibility_message: A message indicating the versions of Drupal core with which this project is compatible. This message is also contained within the 'core_compatibility_details' variable documented above. This message is not set for the Drupal core project itself.
 
 
See also
\Drupal\update\Hook\UpdateThemeHooks::preprocessUpdateVersion()
1 theme call to update-version.html.twig
- UpdateThemeHooks::preprocessUpdateProjectStatus in core/
modules/ update/ src/ Hook/ UpdateThemeHooks.php  - Prepares variables for update project status templates.
 
File
- 
              core/
themes/ claro/ templates/ admin/ update-version.html.twig  
View source
- {#
 - /**
 -  * @file
 -  * Theme override for the version display of a project.
 -  *
 -  * Available variables:
 -  * - attributes: HTML attributes suitable for a container element.
 -  * - title: The title of the project.
 -  * - core_compatibility_details: Render array of core compatibility details.
 -  * - version:  A list of data about the latest released version, containing:
 -  *   - version: The version number.
 -  *   - date: The date of the release.
 -  *   - download_link: The URL for the downloadable file.
 -  *   - release_link: The URL for the release notes.
 -  *   - core_compatible: A flag indicating whether the project is compatible
 -  *     with the currently installed version of Drupal core. This flag is not
 -  *     set for the Drupal core project itself.
 -  *   - core_compatibility_message: A message indicating the versions of Drupal
 -  *     core with which this project is compatible. This message is also
 -  *     contained within the 'core_compatibility_details' variable documented
 -  *     above. This message is not set for the Drupal core project itself.
 -  *
 -  * @see \Drupal\update\Hook\UpdateThemeHooks::preprocessUpdateVersion()
 -  */
 - #}
 - <div class="{{ attributes.class }} project-update__version"{{ attributes|without('class') }}>
 -   <div class="layout-row clearfix">
 -     <div class="project-update__version-title layout-column layout-column--quarter">{{ title }}</div>
 -     <div class="project-update__version-details layout-column layout-column--quarter">
 -       <a href="{{ version.release_link }}">{{ version.version }}</a>
 -       <span class="project-update__version-date">({{ version.date|date('Y-M-d') }})</span>
 -     </div>
 -     <div class="layout-column layout-column--half">
 -       <ul class="project-update__version-links">
 -         <li class="project-update__release-notes-link">
 -           <a href="{{ version.release_link }}">{{ 'Release notes'|t }}</a>
 -         </li>
 -         {% if core_compatibility_details %}
 -           <li class="project-update__compatibility-details">
 -             {{ core_compatibility_details }}
 -           </li>
 -         {% endif %}
 -       </ul>
 -     </div>
 -   </div>
 - </div>
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.