- Drupal 8 Quick Start Guide
- J. Ayen Green
- 159字
- 2025-04-04 16:03:56
System message area
The system message area is where important notices appear. Remember that the location could be different in another theme, as could the formatting. Unchanged, the location will be above the main page content, and the format will be one of the following:
- Green: General information worth noting
- Yellow: Indicating a warning; worth noting but not critical, usually meaning that the system completed what it was requested to do, but not without incident
- Pink: An error that should be acted upon or investigated, usually indicating that the system was unable to fulfil a request
These statuses are also used when a user completes a form, with the following as the typical presentation:
- Green: A message indicating that the form was saved or submitted
- Yellow: Inviting the user to review something in the content or to confirm its submission
- Pink: Indicating that a required field is without a value or that the value is not correct in context