From a plugin how can I show a message to a user?
Specifically I'd like to show a message to any user after comment submission indicating that their comment was submitted. My thought was to hook into the
However in searching for this I could not find an answer to the more general problem of how to show a message to a user. The message should be shown to the user a single time regardless of whether they are logged in or not on their next page visit. Similar to drupal's
drupal_set_message (see https://stackoverflow.com/questions/2476351/drupal-display-success-error-message)