Created
February 5, 2014 09:07
-
-
Save robertmagnusson/8819739 to your computer and use it in GitHub Desktop.
Style Drupal messages
This file contains 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
<?php drupal_set_message(t('This is an error message.'), 'error'); ?> | |
<?php drupal_set_message(t('This is a notice message.'), 'notice'); ?> | |
<?php drupal_set_message(t('This is a warning message.'), 'warning'); ?> | |
<?php drupal_set_message(t('This is a status message.'), 'status'); ?> | |
<?php print $messages; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment