template_preprocess_install_page(&$variables)
Prepares variables for install page templates.
Default template: install-page.html.twig.
array $variables: An associative array containing:
template_preprocess_maintenance_page()
function template_preprocess_install_page(&$variables) { template_preprocess_maintenance_page($variables); // Override the site name that is displayed on the page, since Drupal is // still in the process of being installed. $distribution_name = drupal_install_profile_distribution_name(); $variables['site_name'] = $distribution_name; $variables['site_version'] = drupal_install_profile_distribution_version(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!theme.inc/function/template_preprocess_install_page/8.1.x