Last active
December 16, 2015 05:29
-
-
Save jessebeach/5384896 to your computer and use it in GitHub Desktop.
Simple Drupal.announce example
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
| // Pass a string. | |
| Drupal.announce('The application has been updated.'); | |
| // Make sure the string is translatable. | |
| Drupal.announce( | |
| Drupal.t('The application has been updated.') | |
| ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment