diff --git a/includes/theme.inc b/includes/theme.inc index f44e4b9bbf6c7e607df227bb711a2b1bda6dfe9d..842f7dc56cf7a9cdd6270d72fcca72c7ab372cbd 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -228,6 +228,7 @@ function bootstrap_status_messages($variables) { 'status' => t('Status message'), 'error' => t('Error message'), 'warning' => t('Warning message'), + 'info' => t('Informative message'), ); // Map Drupal message types to their corresponding Bootstrap classes. @@ -235,7 +236,11 @@ function bootstrap_status_messages($variables) { $status_class = array( 'status' => 'success', 'error' => 'error', - 'warning' => 'info', + 'warning' => 'warning', + // Not supported, but in theory a module could send any type of message. + // @see drupal_set_message() + // @see theme_status_messages() + 'info' => 'info', ); foreach (drupal_get_messages($display) as $type => $messages) { @@ -244,7 +249,7 @@ function bootstrap_status_messages($variables) { $output .= " ×\n"; if (!empty($status_heading[$type])) { - $output .= '