function seven_preprocess_update_version
Same name in other branches
- 8.9.x core/themes/seven/seven.theme \seven_preprocess_update_version()
Prepares variables for update version templates.
Default template: update-version.html.twig.
Parameters
array $variables: An associative array containing:
- version: An array of information about the release version.
File
-
core/
themes/ seven/ seven.theme, line 445
Code
function seven_preprocess_update_version(array &$variables) {
$variables['#attached']['library'][] = 'seven/update-report';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.