common_test_info.txt

; Test parsing with a simple string.
simple_string = A simple string

; Test that constants can be used as values.
simple_constant = WATCHDOG_INFO

; After parsing the .info file, 'double_colon' should hold the literal value.
; Parsing should not throw a fatal error or try to access a class constant.
double_colon = dummyClassName::

File

modules/simpletest/tests/common_test_info.txt

View source
  1. ; Test parsing with a simple string.
  2. simple_string = A simple string
  3. ; Test that constants can be used as values.
  4. simple_constant = WATCHDOG_INFO
  5. ; After parsing the .info file, 'double_colon' should hold the literal value.
  6. ; Parsing should not throw a fatal error or try to access a class constant.
  7. double_colon = dummyClassName::

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