diff options
Diffstat (limited to 'themes/tests/test_theme')
-rw-r--r-- | themes/tests/test_theme/template.php | 21 | ||||
-rw-r--r-- | themes/tests/test_theme/test_theme.info | 16 |
2 files changed, 0 insertions, 37 deletions
diff --git a/themes/tests/test_theme/template.php b/themes/tests/test_theme/template.php deleted file mode 100644 index ef8118a6d..000000000 --- a/themes/tests/test_theme/template.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -/** - * Tests a theme overriding a suggestion of a base theme hook. - */ -function test_theme_breadcrumb__suggestion($variables) { - // Tests that preprocess functions for the base theme hook get called even - // when the suggestion has an implementation. - return 'test_theme_breadcrumb__suggestion: ' . $variables['theme_test_preprocess_breadcrumb']; -} - -/** - * 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'; -} diff --git a/themes/tests/test_theme/test_theme.info b/themes/tests/test_theme/test_theme.info deleted file mode 100644 index dd5584b0b..000000000 --- a/themes/tests/test_theme/test_theme.info +++ /dev/null @@ -1,16 +0,0 @@ -name = Test theme -description = Theme for testing the theme system -core = 7.x -hidden = TRUE - -; Normally, themes may list CSS files like this, and if they exist in the theme -; folder, then they get added to the page. If they have the same file name as a -; module CSS file, then the theme's version overrides the module's version, so -; that the module's version is not added to the page. Additionally, a theme may -; have an entry like this one, without having the corresponding CSS file in the -; theme's folder, and in this case, it just stops the module's version from -; being loaded, and does not replace it with an alternate version. We have this -; here in order for a test to ensure that this correctly prevents the module -; version from being loaded, and that errors aren't caused by the lack of this -; file within the theme folder. -stylesheets[all][] = system.base.css |