Quantcast
Viewing all articles
Browse latest Browse all 295035

Improve drupal_set_message [blue background]

The type = 'status' message is always green. I do not understand the logic why status message is green.

In most of the websites we can see blue "info" messages and green "success" messages.

drupal_set_message(t('Welcome user.'), 'info');
drupal_set_message(t('Content created.'), 'success');

The default type can be "success" as Drupal core has less info messages than success messages.

AttachmentSizeStatusTest resultOperations
info_message.jpg23.47 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 295035

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>