function webform_preprocess_status_messages in Webform 8.5
Same name and namespace in other branches
- 6.x 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');
}
}