function seven_preprocess_update_version
Same name in other branches
- 9 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 387
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.