Created
May 29, 2013 08:49
-
-
Save hannesl/5668892 to your computer and use it in GitHub Desktop.
Drupal messages testing/styling spree.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function mymodule_init() { | |
| drupal_set_message('A test message.', 'status'); | |
| drupal_set_message(str_repeat('Another message. ', 10), 'status'); | |
| drupal_set_message('A test warning.', 'warning'); | |
| drupal_set_message('A test error!!!', 'error'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment