test_theme.info

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

settings[theme_test_setting] = default value

File

modules/simpletest/tests/themes/test_theme/test_theme.info

View source
  1. name = Test theme
  2. description = Theme for testing the theme system
  3. core = 7.x
  4. hidden = TRUE
  5. ; Normally, themes may list CSS files like this, and if they exist in the theme
  6. ; folder, then they get added to the page. If they have the same file name as a
  7. ; module CSS file, then the theme's version overrides the module's version, so
  8. ; that the module's version is not added to the page. Additionally, a theme may
  9. ; have an entry like this one, without having the corresponding CSS file in the
  10. ; theme's folder, and in this case, it just stops the module's version from
  11. ; being loaded, and does not replace it with an alternate version. We have this
  12. ; here in order for a test to ensure that this correctly prevents the module
  13. ; version from being loaded, and that errors aren't caused by the lack of this
  14. ; file within the theme folder.
  15. stylesheets[all][] = system.base.css
  16. settings[theme_test_setting] = default value

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