Theme to help test the Twig engine.
<?php
/**
 * @file
 * Theme to help test the Twig engine.
 */
/**
 * Implements THEME_preprocess_twig_theme_test_php_variables().
 */
function test_theme_preprocess_twig_theme_test_php_variables(&$variables) {
  $variables['php_values'] = _test_theme_twig_php_values();
}
/**
 * Tests a theme overriding a suggestion of a base theme hook.
 */
function test_theme_theme_test__suggestion($variables) {
  return 'Theme hook implementor=test_theme_theme_test__suggestion(). Foo=' . $variables['foo'];
}
/**
 * Tests a theme implementing an alter hook.
 *
 * The confusing function name here is due to this being an implementation of
 * the alter hook invoked when the 'theme_test' module calls
 * drupal_alter('theme_test_alter').
 */
function test_theme_theme_test_alter_alter(&$data) {
  $data = 'test_theme_theme_test_alter_alter was invoked';
}| 
            Name | 
                  Description | 
|---|---|
| test_theme_preprocess_twig_theme_test_php_variables | Implements THEME_preprocess_twig_theme_test_php_variables(). | 
| test_theme_theme_test_alter_alter | Tests a theme implementing an alter hook. | 
| test_theme_theme_test__suggestion | Tests a theme overriding a suggestion of a base theme hook. |