You are here

function at_theme_generator_preprocess_system_themes_page in AT Tools 8.3

Same name and namespace in other branches
  1. 8 at_theme_generator/at_theme_generator.module \at_theme_generator_preprocess_system_themes_page()
  2. 8.2 at_theme_generator/at_theme_generator.module \at_theme_generator_preprocess_system_themes_page()

Prepares variables for appearance page templates.

Default template: system-themes-page.html.twig.

Parameters

$variables: An associative array containing:

  • theme_groups: An associative array containing groups of themes.
  • theme_group_titles: An associative array containing titles of themes.

File

at_theme_generator/at_theme_generator.module, line 34
Contains at_theme_generator.module

Code

function at_theme_generator_preprocess_system_themes_page(&$variables) {
  $variables['#attached']['library'][] = 'at_theme_generator/appearance_settings';
}