function template_preprocess_theme_test_deprecations_preprocess

Same name and namespace in other branches
  1. 10 core/modules/system/tests/modules/theme_test/theme_test.module \template_preprocess_theme_test_deprecations_preprocess()

Implements template_preprocess_HOOK() for theme_test_deprecations_preprocess.

Default template: theme-test-deprecations-preprocess.html.twig.

Parameters

array $variables: An associative array of variables.

File

core/modules/system/tests/modules/theme_test/theme_test.module, line 212

Code

function template_preprocess_theme_test_deprecations_preprocess(array &$variables) {
    $variables = array_merge($variables, \Drupal::state()->get('theme_test.theme_test_deprecations_preprocess'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.