You are here

function webform_preprocess_status_messages in Webform 6.x

Same name and namespace in other branches
  1. 8.5 includes/webform.theme.inc \webform_preprocess_status_messages()

Prepares variable for status_messages.

File

includes/webform.theme.inc, line 325
Theme hooks, preprocessor, and suggestions.

Code

function webform_preprocess_status_messages(&$variables) {
  if (!isset($variables['status_headings']['info'])) {
    $variables['status_headings']['info'] = t('Information message');
  }
}